diff --git a/src/Command/Debug/EventCommand.php b/src/Command/Debug/EventCommand.php index 126e9bc57..c5294fa73 100644 --- a/src/Command/Debug/EventCommand.php +++ b/src/Command/Debug/EventCommand.php @@ -112,7 +112,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $listeners[] = [ 'class' => $className, 'method' => $value[1], - 'events' => Yaml::dump($subscribedEventData, 4, 2) + 'events' => rtrim(Yaml::dump($subscribedEventData, 4, 2)) ]; }