fix PHPStan error

This commit is contained in:
Dylan T. 2024-11-29 14:08:06 +00:00 committed by GitHub
parent 866d473553
commit e8ec81d123
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,7 @@ abstract class AsyncEvent{
/** /**
* @param AsyncRegisteredListener[] $handlers * @param AsyncRegisteredListener[] $handlers
* @phpstan-param list<AsyncRegisteredListener> $handlers
* @phpstan-param \Closure() : void $resolve * @phpstan-param \Closure() : void $resolve
* @phpstan-param \Closure() : void $reject * @phpstan-param \Closure() : void $reject
*/ */