Skip to content

Commit

Permalink
fix: retry helper supports array of sleep times for $times (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpetry committed Nov 7, 2022
1 parent 217cf07 commit d898af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/Helpers.stub
Expand Up @@ -100,7 +100,7 @@ function rescue(callable $callback, $rescue = null, $report = true)

/**
* @template TValue
* @param int $times
* @param int|array<int, int> $times
* @param callable(int): TValue $callback
* @param int $sleep
* @param null|callable(\Exception): bool $when
Expand Down

0 comments on commit d898af7

Please sign in to comment.