diff --git a/Console/AbstractConsole.php b/Console/AbstractConsole.php index defa01bc..24911024 100644 --- a/Console/AbstractConsole.php +++ b/Console/AbstractConsole.php @@ -20,8 +20,7 @@ abstract class AbstractConsole extends Component /** * @var Command[] */ - public $commands = [ - ]; + public $commands = []; /** @var Input $parameters */ private $parameters; diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index e740d165..8d96181e 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -148,8 +148,8 @@ class Response extends Application { $result = Help::toString($result); - $string = 'Command Result: ' . PHP_EOL; - $string .= empty($result) ? 'success!' : $result . PHP_EOL; + $string = 'Command Result: ' . PHP_EOL. PHP_EOL. PHP_EOL; + $string .= empty($result) ? 'success!' : $result . PHP_EOL. PHP_EOL. PHP_EOL; $string .= 'Command Success!' . PHP_EOL; echo $string;