From 4b444ccd78068d97b6ef87aac934d06beac9c88a Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Mon, 28 Mar 2022 20:23:14 -0500 Subject: [PATCH] Update async() docblock closure declaration --- src/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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