Passed
Pull Request — master (#13)
by Felix
02:36
created
src/ExponentialBackoff.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $this->retries = $retries !== null ? (int) $retries : 3;
34 34
         $this->retryFunction = $retryFunction;
35
-        $this->delayFunction = function ($delay) {
35
+        $this->delayFunction = function($delay) {
36 36
             usleep($delay);
37 37
         };
38 38
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 return call_user_func_array($function, $arguments);
57 57
             } catch (\Exception $exception) {
58 58
                 if ($this->retryFunction) {
59
-                    if (! call_user_func($this->retryFunction, $exception)) {
59
+                    if (!call_user_func($this->retryFunction, $exception)) {
60 60
                         throw $exception;
61 61
                     }
62 62
                 }
Please login to merge, or discard this patch.