@@ -50,7 +50,7 @@ |
||
| 50 | 50 | if ($currentRetryCount < $this->retryCount) { |
| 51 | 51 | $delta = (int) (( |
| 52 | 52 | pow(2.0, $currentRetryCount) - 1.0) |
| 53 | - * random_int((int)($this->deltaBackoff * 0.8), (int)($this->deltaBackoff * 1.2)) |
|
| 53 | + * random_int((int) ($this->deltaBackoff * 0.8), (int) ($this->deltaBackoff * 1.2)) |
|
| 54 | 54 | ); |
| 55 | 55 | $interval = (int) min($this->minBackoff + $delta, $this->maxBackoff); |
| 56 | 56 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | $this->retryCount = $retryCount; |
| 21 | 21 | $this->retryIntervalInMicroseconds = $retryIntervalInMicroseconds; |
| 22 | - $this->firstFastRetry = $firstFastRetry; |
|
| 22 | + $this->firstFastRetry = $firstFastRetry; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | public function getShouldRetry(): ShouldRetry |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $this->retryCount = $retryCount; |
| 22 | 22 | $this->initialIntervalInMicroseconds = $initialIntervalInMicroseconds; |
| 23 | 23 | $this->incrementInMicroseconds = $incrementInMicroseconds; |
| 24 | - $this->firstFastRetry = $firstFastRetry; |
|
| 24 | + $this->firstFastRetry = $firstFastRetry; |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function getShouldRetry(): ShouldRetry |