mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Merge pull request #17084 from nextcloud/refactor/symfony-dispatcher-signature
Use the new Symfony event dispatcher signature
This commit is contained in:
commit
1b8d6df6cd
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue