Passed
Push — main ( c64f98...7b109b )
by Eric
02:05
created
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      */
396 396
     private function retryDecider(): Closure
397 397
     {
398
-        return function (
398
+        return function(
399 399
             int $retries,
400 400
             RequestInterface $request,
401 401
             ?ResponseInterface $response = null,
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
      */
428 428
     private function retryDelay(): Closure
429 429
     {
430
-        return static function (int $numberOfRetries, ResponseInterface $response): int {
430
+        return static function(int $numberOfRetries, ResponseInterface $response): int {
431 431
             if (!$response->hasHeader('Retry-After')) {
432 432
                 return RetryMiddleware::exponentialDelay($numberOfRetries);
433 433
             }
Please login to merge, or discard this patch.
src/Utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
         $invalidOptions = [];
102 102
 
103
-        array_filter($options, static function ($value, int|string $key) use (&$invalidOptions, $validOptions): bool {
103
+        array_filter($options, static function($value, int | string $key) use (&$invalidOptions, $validOptions): bool {
104 104
             if (!\in_array($key, $validOptions, true)) {
105 105
                 $invalidOptions[] = $key;
106 106
 
Please login to merge, or discard this patch.