Merge pull request #17084 from nextcloud/refactor/symfony-dispatcher-signature
Use the new Symfony event dispatcher signature
This commit is contained in:
commit
1b8d6df6cd
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue