diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-09-10 11:26:55 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-09-10 11:26:55 +0200 |
commit | 222b4582803f3428526f2e06404ec7b9a0f54da1 (patch) | |
tree | 52d179b4b4a447fe22de95c490ad4342b1243782 | |
parent | 242ed6bb0b84324406f4f207b6a0263e6d894ac7 (diff) | |
download | nextcloud-server-222b4582803f3428526f2e06404ec7b9a0f54da1.tar.gz nextcloud-server-222b4582803f3428526f2e06404ec7b9a0f54da1.zip |
Use the new Symfony event dispatcher signature
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | lib/private/EventDispatcher/EventDispatcher.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); } /** |