@@ -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 { |
@@ -150,8 +150,7 @@ |
||
| 150 | 150 | $args_and_options = $commandData->getArgsAndOptions(); |
| 151 | 151 | $args = [ $args_and_options ]; |
| 152 | 152 | $result = $this->runCommandCallback($commandCallback, $commandData, $args); |
| 153 | - } |
|
| 154 | - else { |
|
| 153 | + } else { |
|
| 155 | 154 | // Run the command, alter the results, and then handle output and status |
| 156 | 155 | $result = $this->runCommandCallback($commandCallback, $commandData); |
| 157 | 156 | } |