Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>tags/v18.0.0beta1
@@ -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); | |||
} | |||
/** |