Completed
Push — master ( d4eb54...48b451 )
by Amine
08:06
created
src/Commands/HelpCommand.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,10 +24,11 @@
 block discarded – undo
24 24
     protected function execute ()
25 25
     {
26 26
         $command = trim($this->args->command);
27
-        if (empty($command) || !$this->parent()->hasCommand($command))
28
-            $this->showHelpOf($this->parent);
29
-        else
30
-            $this->showHelpOf($this->parent->command($command));
27
+        if (empty($command) || !$this->parent()->hasCommand($command)) {
28
+                    $this->showHelpOf($this->parent);
29
+        } else {
30
+                    $this->showHelpOf($this->parent->command($command));
31
+        }
31 32
     }
32 33
 
33 34
     /**
Please login to merge, or discard this patch.
src/Command.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
                     $this->error($errors);
327 327
                 } else {
328 328
                     $this->args($this->syntax()->parse($args))
329
-                         ->execute();
329
+                            ->execute();
330 330
                 }
331 331
             }
332 332
         } catch (\Exception $e) {
Please login to merge, or discard this patch.