We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 219b3b1 commit 899678cCopy full SHA for 899678c
src/EventDispatcher.php
@@ -10,7 +10,7 @@ final class EventDispatcher implements EventDispatcherInterface
10
private array $providers = [];
11
public function __construct(iterable|ListenerProviderInterface $providers = [])
12
{
13
- foreach(is_iterable($providers) ? $providers : [$providers] as $p) $this->provider[] = $p;
+ foreach(is_iterable($providers) ? $providers : [$providers] as $p) $this->providers[] = $p;
14
}
15
16
public function __clone()
0 commit comments