Completed
Pull Request — master (#97)
by
unknown
02:25
created
src/Hooks/Dispatchers/ReplaceCommandHookDispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         if ($this->logger && count($replaceCommandHooks) > 1) {
64 64
             $command_name = $commandData->annotationData()->get('command', 'unknown');
65 65
             $message = "Multiple implementations of the \"replace - command\" hook exist for the \"$command_name\" command.\n";
66
-            foreach($replaceCommandHooks as $replaceCommandHook) {
66
+            foreach ($replaceCommandHooks as $replaceCommandHook) {
67 67
                 $class = get_class($replaceCommandHook[0]);
68 68
                 $method = $replaceCommandHook[1];
69 69
                 $hook_name = "$class->$method";
Please login to merge, or discard this patch.
src/CommandProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.