We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dfb3fc + 4e3b721 commit 695e4fbCopy full SHA for 695e4fb
Tests/Command/EventDispatcherDebugCommandTest.php
@@ -44,8 +44,8 @@ private function createCommandCompletionTester(): CommandCompletionTester
44
$dispatcher = new EventDispatcher();
45
$otherDispatcher = new EventDispatcher();
46
47
- $dispatcher->addListener('event', 'Listener');
48
- $otherDispatcher->addListener('other_event', 'OtherListener');
+ $dispatcher->addListener('event', ['Listener']);
+ $otherDispatcher->addListener('other_event', ['OtherListener']);
49
50
$dispatchers = new ServiceLocator([
51
'event_dispatcher' => function () {
0 commit comments