Merge pull request #17084 from nextcloud/refactor/symfony-dispatcher-signature

Use the new Symfony event dispatcher signature
This commit is contained in:
Roeland Jago Douma 2019-09-11 22:08:38 +02:00 committed by GitHub
commit 1b8d6df6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
/**