Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4c1b30

Browse files
committed
[Console] fixed tests
1 parent 2c7c4a5 commit e4c1b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Console/Descriptor/MarkdownDescriptor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ protected function describeApplication(Application $application, array $options
126126
}
127127

128128
$this->write("\n\n");
129-
$this->write(array_map(function ($commandName) {
129+
$this->write(implode("\n", array_map(function ($commandName) {
130130
return '* '.$commandName;
131-
} , $namespace['commands']));
131+
} , $namespace['commands'])));
132132
}
133133

134134
foreach ($description->getCommands() as $command) {

0 commit comments

Comments
 (0)