Browse Source

Use the new Symfony event dispatcher signature

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v18.0.0beta1
Christoph Wurst 4 years ago
parent
commit
222b458280
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      lib/private/EventDispatcher/EventDispatcher.php

+ 1
- 2
lib/private/EventDispatcher/EventDispatcher.php 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);
}

/**

Loading…
Cancel
Save