From 222b4582803f3428526f2e06404ec7b9a0f54da1 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 10 Sep 2019 11:26:55 +0200 Subject: Use the new Symfony event dispatcher signature Signed-off-by: Christoph Wurst --- lib/private/EventDispatcher/EventDispatcher.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/private/EventDispatcher/EventDispatcher.php b/lib/private/EventDispatcher/EventDispatcher.php index 8db2f3101be..bbf6ae2b368 100644 --- a/lib/private/EventDispatcher/EventDispatcher.php +++ b/lib/private/EventDispatcher/EventDispatcher.php @@ -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); } /** -- cgit v1.2.3