This commit is contained in:
2020-09-08 11:05:27 +08:00
parent f5f2982d12
commit 0111ddb3a9
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -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;
+2 -2
View File
@@ -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;