Skip to content

Commit 6cf40c5

Browse files
committed
fix return type
1 parent 2ec12b5 commit 6cf40c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Connection/Bigquery/Retry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class Retry
2828
*/
2929
public static function getRestRetryFunction(LoggerInterface $logger, bool $includeUnauthorized = false): Closure
3030
{
31-
return static function () use ($logger, $includeUnauthorized): Closure {
31+
return static function () use ($logger, $includeUnauthorized): Closure|bool {
3232
// BigQuery client sometimes calls directly restRetryFunction with exception as first argument
3333
// But in other cases it expects to return callable which accepts exception as first argument
3434
$argsNum = func_num_args();

0 commit comments

Comments
 (0)