@@ -7,7 +7,7 @@ |
||
7 | 7 | class Command implements Contracts\Output { |
8 | 8 | |
9 | 9 | /** |
10 | - * @param DeGraciaMathieu\Clike\Contracts\Command $command [description] |
|
10 | + * @param Contracts\Command $command [description] |
|
11 | 11 | */ |
12 | 12 | public function __construct(Contracts\Command $command) |
13 | 13 | { |
@@ -8,7 +8,7 @@ |
||
8 | 8 | class Unauthorize implements Contracts\Output { |
9 | 9 | |
10 | 10 | /** |
11 | - * @param DeGraciaMathieu\Clike\Contracts\Command $command [description] |
|
11 | + * @param Contracts\Command $command [description] |
|
12 | 12 | */ |
13 | 13 | public function __construct(Contracts\Command $command) |
14 | 14 | { |
@@ -4,6 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | |
7 | -class UnknowCommand extends Exception{ |
|
7 | +class UnknowCommand extends Exception { |
|
8 | 8 | // |
9 | 9 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | return (new $availableCommand)->binding() === $binding; |
38 | 38 | }); |
39 | 39 | |
40 | - if (! isset($command[0])) { |
|
40 | + if (!isset($command[0])) { |
|
41 | 41 | throw new Exceptions\UnknowCommand(); |
42 | 42 | } |
43 | 43 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public function getAvailableCommands() |
52 | 52 | { |
53 | - return array_map(function($availableCommand){ |
|
53 | + return array_map(function($availableCommand) { |
|
54 | 54 | |
55 | 55 | $command = new $availableCommand; |
56 | 56 |