@@ -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; |
@@ -148,7 +148,7 @@ |
||
148 | 148 | if ($replaceDispatcher->hasReplaceCommandHook()) { |
149 | 149 | $commandCallback = $replaceDispatcher->getReplacementCommand($commandData); |
150 | 150 | $args_and_options = $commandData->getArgsAndOptions(); |
151 | - $args = [ $args_and_options ]; |
|
151 | + $args = [$args_and_options]; |
|
152 | 152 | $result = $this->runCommandCallback($commandCallback, $commandData, $args); |
153 | 153 | } |
154 | 154 | else { |