Use the new Symfony event dispatcher signature
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
242ed6bb0b
commit
222b458280
1 changed files with 1 additions and 2 deletions
|
@ -71,8 +71,7 @@ class EventDispatcher implements IEventDispatcher {
|
|||
|
||||
public function dispatch(string $eventName,
|
||||
Event $event): void {
|
||||
|
||||
$this->dispatcher->dispatch($eventName, $event);
|
||||
$this->dispatcher->dispatch($event, $eventName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue