e
This commit is contained in:
@@ -20,8 +20,7 @@ abstract class AbstractConsole extends Component
|
|||||||
/**
|
/**
|
||||||
* @var Command[]
|
* @var Command[]
|
||||||
*/
|
*/
|
||||||
public $commands = [
|
public $commands = [];
|
||||||
];
|
|
||||||
|
|
||||||
/** @var Input $parameters */
|
/** @var Input $parameters */
|
||||||
private $parameters;
|
private $parameters;
|
||||||
|
|||||||
@@ -148,8 +148,8 @@ class Response extends Application
|
|||||||
{
|
{
|
||||||
$result = Help::toString($result);
|
$result = Help::toString($result);
|
||||||
|
|
||||||
$string = 'Command Result: ' . PHP_EOL;
|
$string = 'Command Result: ' . PHP_EOL. PHP_EOL. PHP_EOL;
|
||||||
$string .= empty($result) ? 'success!' : $result . PHP_EOL;
|
$string .= empty($result) ? 'success!' : $result . PHP_EOL. PHP_EOL. PHP_EOL;
|
||||||
$string .= 'Command Success!' . PHP_EOL;
|
$string .= 'Command Success!' . PHP_EOL;
|
||||||
echo $string;
|
echo $string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user