We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec12b5 commit 6cf40c5Copy full SHA for 6cf40c5
1 file changed
src/Connection/Bigquery/Retry.php
@@ -28,7 +28,7 @@ final class Retry
28
*/
29
public static function getRestRetryFunction(LoggerInterface $logger, bool $includeUnauthorized = false): Closure
30
{
31
- return static function () use ($logger, $includeUnauthorized): Closure {
+ return static function () use ($logger, $includeUnauthorized): Closure|bool {
32
// BigQuery client sometimes calls directly restRetryFunction with exception as first argument
33
// But in other cases it expects to return callable which accepts exception as first argument
34
$argsNum = func_num_args();
0 commit comments