Skip to content

Commit de85805

Browse files
Minor CS fixes
1 parent 0315b30 commit de85805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Retry/GenericRetryStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function getDelay(AsyncContext $context, ?string $responseContent, ?Trans
103103

104104
if ($this->jitter > 0) {
105105
$randomness = (int) ($delay * $this->jitter);
106-
$delay = $delay + random_int(-$randomness, +$randomness);
106+
$delay += random_int(-$randomness, +$randomness);
107107
}
108108

109109
if ($delay > $this->maxDelayMs && 0 !== $this->maxDelayMs) {

0 commit comments

Comments
 (0)