Skip to content

Commit 4d4dbb3

Browse files
committed
chore: codestyle fix
1 parent 4300621 commit 4d4dbb3

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
parameters:
2-
ignoreErrors:
2+
ignoreErrors:

src/Guzzle/RetryCallbackMiddleware.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,9 @@ public static function getExponentialDelayFn(): callable
6060
};
6161
}
6262

63-
/**
64-
* @deprecated - use getExponentialDelayFn() instead
65-
* @param int $retries
66-
* @return int
67-
*/
63+
// phpcs:disable SlevomatCodingStandard.TypeHints.TypeHintDeclaration.UselessDocComment
64+
/** @deprecated - use getExponentialDelayFn() instead */
65+
// phpcs:enable SlevomatCodingStandard.TypeHints.TypeHintDeclaration.UselessDocComment
6866
public static function exponentialDelay(int $retries): int
6967
{
7068
return (int) (1000 * pow(2, $retries - 1) + rand(0, 500));

tests/RestApiTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,4 @@ protected function getEnv(string $name): string
109109

110110
return $value;
111111
}
112-
113112
}

0 commit comments

Comments
 (0)