diff --git a/src/event/AsyncEvent.php b/src/event/AsyncEvent.php index 0d55f63bb71..137042e0572 100644 --- a/src/event/AsyncEvent.php +++ b/src/event/AsyncEvent.php @@ -76,6 +76,7 @@ final public function call() : Promise{ /** * @param AsyncRegisteredListener[] $handlers + * @phpstan-param list $handlers * @phpstan-param \Closure() : void $resolve * @phpstan-param \Closure() : void $reject */