Skip to content

Commit 899678c

Browse files
authored
Update EventDispatcher.php
1 parent 219b3b1 commit 899678c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventDispatcher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ final class EventDispatcher implements EventDispatcherInterface
1010
private array $providers = [];
1111
public function __construct(iterable|ListenerProviderInterface $providers = [])
1212
{
13-
foreach(is_iterable($providers) ? $providers : [$providers] as $p) $this->provider[] = $p;
13+
foreach(is_iterable($providers) ? $providers : [$providers] as $p) $this->providers[] = $p;
1414
}
1515

1616
public function __clone()

0 commit comments

Comments
 (0)