summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-09-11 22:08:38 +0200
committerGitHub <noreply@github.com>2019-09-11 22:08:38 +0200
commit1b8d6df6cdfd2f130b3702d9e183d83183370dd1 (patch)
tree7a222e035be63cc4ed8a072abbdd51dd92f9941e /lib
parent15d39c48e652a76fd63b6986ecbabe62c00631cb (diff)
parent222b4582803f3428526f2e06404ec7b9a0f54da1 (diff)
downloadnextcloud-server-1b8d6df6cdfd2f130b3702d9e183d83183370dd1.tar.gz
nextcloud-server-1b8d6df6cdfd2f130b3702d9e183d83183370dd1.zip
Merge pull request #17084 from nextcloud/refactor/symfony-dispatcher-signature
Use the new Symfony event dispatcher signature
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);
}
/**