Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-10 12:26:55 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-10 12:26:55 +0300
commit222b4582803f3428526f2e06404ec7b9a0f54da1 (patch)
tree52d179b4b4a447fe22de95c490ad4342b1243782 /lib
parent242ed6bb0b84324406f4f207b6a0263e6d894ac7 (diff)
Use the new Symfony event dispatcher signature
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-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);
}
/**