@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | * @param int $status |
302 | 302 | * @param string $structuredOutput |
303 | 303 | * @param mixed $originalResult |
304 | - * @return type |
|
304 | + * @return integer |
|
305 | 305 | */ |
306 | 306 | protected function writeErrorMessage($output, $status, $structuredOutput, $originalResult) |
307 | 307 | { |
@@ -331,6 +331,7 @@ discard block |
||
331 | 331 | /** |
332 | 332 | * If a status code was set, then return it; otherwise, |
333 | 333 | * presume success. |
334 | + * @param null|integer $status |
|
334 | 335 | */ |
335 | 336 | protected function interpretStatusCode($status) |
336 | 337 | { |
@@ -7,12 +7,10 @@ |
||
7 | 7 | use Symfony\Component\Console\Input\InputInterface; |
8 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
9 | 9 | use Symfony\Component\Console\Output\ConsoleOutputInterface; |
10 | - |
|
11 | 10 | use Consolidation\OutputFormatters\FormatterManager; |
12 | 11 | use Consolidation\OutputFormatters\Options\FormatterOptions; |
13 | 12 | use Consolidation\AnnotatedCommand\Hooks\HookManager; |
14 | 13 | use Consolidation\AnnotatedCommand\Options\PrepareFormatter; |
15 | - |
|
16 | 14 | use Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher; |
17 | 15 | use Consolidation\AnnotatedCommand\Hooks\Dispatchers\OptionsHookDispatcher; |
18 | 16 | use Consolidation\AnnotatedCommand\Hooks\Dispatchers\InteractHookDispatcher; |
@@ -83,7 +83,7 @@ |
||
83 | 83 | */ |
84 | 84 | public function getReplacementCommandArguments(CommandData $commandData) { |
85 | 85 | $args_and_options = $commandData->getArgsAndOptions(); |
86 | - $args = [ $args_and_options ]; |
|
86 | + $args = [$args_and_options]; |
|
87 | 87 | |
88 | 88 | return $args; |
89 | 89 | } |