summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-10 11:26:55 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-10 11:26:55 +0200
commit222b4582803f3428526f2e06404ec7b9a0f54da1 (patch)
tree52d179b4b4a447fe22de95c490ad4342b1243782
parent242ed6bb0b84324406f4f207b6a0263e6d894ac7 (diff)
downloadnextcloud-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.php3
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);
}
/**