@@ -75,7 +75,7 @@ |
||
75 | 75 | public function command($name, $value = null) |
76 | 76 | { |
77 | 77 | if (null === $value) { |
78 | - if (! $this->hasCommand($name)) { |
|
78 | + if (!$this->hasCommand($name)) { |
|
79 | 79 | throw new CommandNotFound("Unable to find the command '{$name}'"); |
80 | 80 | } |
81 | 81 | return $this->store->get($name); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | class HelpCommand extends SubCommand { |
14 | 14 | |
15 | - protected function init () |
|
15 | + protected function init() |
|
16 | 16 | { |
17 | 17 | $this |
18 | 18 | ->name('Help') |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | ->syntax('[command]'); |
22 | 22 | } |
23 | 23 | |
24 | - protected function execute () |
|
24 | + protected function execute() |
|
25 | 25 | { |
26 | 26 | $command = trim($this->args->command); |
27 | 27 | if (empty($command) || !$this->parent()->hasCommand($command)) |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @param Command $command |
37 | 37 | * @return void |
38 | 38 | */ |
39 | - protected function showHelpOf (Command $command) |
|
39 | + protected function showHelpOf(Command $command) |
|
40 | 40 | { |
41 | 41 | $c = $this->console(); |
42 | 42 |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | */ |
8 | 8 | class VersionCommand extends SubCommand { |
9 | 9 | |
10 | - protected function init () |
|
10 | + protected function init() |
|
11 | 11 | { |
12 | 12 | $this |
13 | 13 | ->name('Version') |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | ->description('Shows the version of the command'); |
16 | 16 | } |
17 | 17 | |
18 | - protected function execute () |
|
18 | + protected function execute() |
|
19 | 19 | { |
20 | 20 | $c = $this->parent(); |
21 | 21 | $this->console |