[Console] fixed CS according to PR comment
This commit is contained in:
parent
dd0d97e643
commit
117359a196
@ -560,8 +560,8 @@ class Application
|
|||||||
$message = sprintf('Command "%s" is not defined.', $name);
|
$message = sprintf('Command "%s" is not defined.', $name);
|
||||||
|
|
||||||
if ($alternatives = $this->findAlternativeCommands($searchName)) {
|
if ($alternatives = $this->findAlternativeCommands($searchName)) {
|
||||||
$message .= PHP_EOL.'Did you mean one of these?'.PHP_EOL.' ';
|
$message .= "\nDid you mean one of these?\n ";
|
||||||
$message .= implode(PHP_EOL.' ', $alternatives);
|
$message .= implode("\n ", $alternatives);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new \InvalidArgumentException($message);
|
throw new \InvalidArgumentException($message);
|
||||||
|
Reference in New Issue
Block a user