@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Write text to the screen for the user to see. |
108 | 108 | * |
109 | - * @param [string] $type line, info, comment, question, error |
|
109 | + * @param string $type line, info, comment, question, error |
|
110 | 110 | * @param [string] $content |
111 | 111 | */ |
112 | 112 | public function echo($type, $content) |
@@ -78,10 +78,10 @@ |
||
78 | 78 | */ |
79 | 79 | public function executeProcess($command, $beforeNotice = false, $afterNotice = false) |
80 | 80 | { |
81 | - $this->echo('info', $beforeNotice?' '.$beforeNotice:$command); |
|
81 | + $this->echo('info', $beforeNotice ? ' '.$beforeNotice : $command); |
|
82 | 82 | |
83 | 83 | $process = new Process($command, null, null, null, $this->option('timeout'), null); |
84 | - $process->run(function ($type, $buffer) { |
|
84 | + $process->run(function($type, $buffer) { |
|
85 | 85 | if (Process::ERR === $type) { |
86 | 86 | $this->echo('comment', $buffer); |
87 | 87 | } else { |