diff --git a/src/Commands/help/HelpCLIFormatter.php b/src/Commands/help/HelpCLIFormatter.php index e56f19d1c8..fbc4a48982 100644 --- a/src/Commands/help/HelpCLIFormatter.php +++ b/src/Commands/help/HelpCLIFormatter.php @@ -26,7 +26,7 @@ public function write(OutputInterface $output, $data, FormatterOptions $options) { $formatterManager = new FormatterManager(); - $output->writeln($data['description']); + $output->writeln((string)$data['description']); if (array_key_exists('help', $data) && $data['help'] != $data['description']) { $output->writeln(''); $output->writeln($data['help']);