From d898af7642f2eb990bdeddfc3a02594d84fb6125 Mon Sep 17 00:00:00 2001 From: Tobias Petry Date: Mon, 7 Nov 2022 11:34:12 +0100 Subject: [PATCH] fix: `retry` helper supports array of sleep times for $times (#1369) --- stubs/Helpers.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Helpers.stub b/stubs/Helpers.stub index fcb5ca1a8..76419caf6 100644 --- a/stubs/Helpers.stub +++ b/stubs/Helpers.stub @@ -100,7 +100,7 @@ function rescue(callable $callback, $rescue = null, $report = true) /** * @template TValue - * @param int $times + * @param int|array $times * @param callable(int): TValue $callback * @param int $sleep * @param null|callable(\Exception): bool $when