@@ -37,6 +37,7 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * Handle an incoming console command. |
40 | + * @param \Symfony\Component\Console\Input\ArrayInput $input |
|
40 | 41 | */ |
41 | 42 | public function handle($input = null, $output = null) |
42 | 43 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Yarak; |
4 | 4 | |
5 | -use App\Console\Kernel as UserKernel; |
|
6 | 5 | use Yarak\Config\Config; |
7 | 6 | use Yarak\Exceptions\InvalidInput; |
8 | 7 | use Yarak\Helpers\NamespaceResolver; |
@@ -70,7 +70,7 @@ |
||
70 | 70 | { |
71 | 71 | preg_match_all('/{(.*?)}/', $signature, $argumentsOption); |
72 | 72 | |
73 | - return array_map(function ($item) { |
|
73 | + return array_map(function($item) { |
|
74 | 74 | return trim($item, '{}'); |
75 | 75 | }, $argumentsOption[1]); |
76 | 76 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | public function getCommands() |
17 | 17 | { |
18 | 18 | if (property_exists($this, 'commands')) { |
19 | - return array_map(function ($command) { |
|
19 | + return array_map(function($command) { |
|
20 | 20 | $this->verifyCommand($command); |
21 | 21 | |
22 | 22 | return $command; |