diff --git a/src/Event/Manager.php b/src/Event/Manager.php index 7bc33cc..14337c9 100644 --- a/src/Event/Manager.php +++ b/src/Event/Manager.php @@ -36,10 +36,10 @@ class Manager protected $collectionInstantiator; /** - * @param array $providers - * @param null $instantiator + * @param iterable $providers + * @param ?callable $instantiator */ - public function __construct(array $providers = [], $instantiator = null) + public function __construct(iterable $providers = [], ?callable $instantiator = null) { $this->collectionInstantiator = $instantiator; if (null === $instantiator) {