Completed
Push — master ( 40bd3e...1ef71d )
by Boris
01:17
created
src/Bgy/TransientFaultHandling/RetryStrategies/ExponentialBackoff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Bgy/TransientFaultHandling/RetryStrategies/FixedInterval.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Bgy/TransientFaultHandling/RetryStrategies/Incremental.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.