From f7a2a3deff88efa69b52cb800a0fff0086c7bf58 Mon Sep 17 00:00:00 2001 From: Jakub-Fajkus Date: Tue, 25 Jan 2022 10:21:54 +0100 Subject: [PATCH] Fix ConsoleListener.php for newer symfony version --- tests/KdybyTests/Console/data/ConsoleListener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/KdybyTests/Console/data/ConsoleListener.php b/tests/KdybyTests/Console/data/ConsoleListener.php index 3bbcc8c..6ecf4c4 100644 --- a/tests/KdybyTests/Console/data/ConsoleListener.php +++ b/tests/KdybyTests/Console/data/ConsoleListener.php @@ -24,8 +24,8 @@ class ConsoleListener implements \Kdyby\Events\Subscriber public function getSubscribedEvents() { return [ - ConsoleEvents::COMMAND, - ConsoleEvents::TERMINATE, + ConsoleEvents::COMMAND => 'command', + ConsoleEvents::TERMINATE => 'terminate', ]; }