diff --git a/src/functions.php b/src/functions.php index 0d3bfcce..98fecf4c 100644 --- a/src/functions.php +++ b/src/functions.php @@ -11,7 +11,8 @@ * * @template T * - * @param \Closure(...):T $closure + * @psalm-param \Closure(...): T $closure + * @phpstan-param \Closure(never, never, never, never, never): T $closure * @param mixed ...$args Arguments forwarded to the closure when starting the fiber. * * @return Future