Skip to content

Commit 60b76d2

Browse files
Merge branch '5.4' into 6.0
* 5.4: [FrameworkBundle] fix tests
2 parents 133dc2a + c5370eb commit 60b76d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Command/EventDispatcherDebugCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ private function createCommandCompletionTester(): CommandCompletionTester
4444
$dispatcher = new EventDispatcher();
4545
$otherDispatcher = new EventDispatcher();
4646

47-
$dispatcher->addListener('event', 'Listener');
48-
$otherDispatcher->addListener('other_event', 'OtherListener');
47+
$dispatcher->addListener('event', ['Listener']);
48+
$otherDispatcher->addListener('other_event', ['OtherListener']);
4949

5050
$dispatchers = new ServiceLocator([
5151
'event_dispatcher' => function () {

0 commit comments

Comments
 (0)