diff --git a/src/functions.php b/src/functions.php index afb0c797..d5332475 100644 --- a/src/functions.php +++ b/src/functions.php @@ -12,7 +12,7 @@ * * @template T * - * @param \Closure():T $closure + * @param \Closure(...):T $closure * @param mixed ...$args Arguments forwarded to the closure when starting the fiber. * * @return Future