@@ -32,7 +32,7 @@ discard block |
||
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 |
||
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 | } |