@@ -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 | { |
@@ -32,6 +32,10 @@ |
||
32 | 32 | $this->checkLine(Lines\Warning::class, 'content', 'warning'); |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $content |
|
37 | + * @param string $type |
|
38 | + */ |
|
35 | 39 | protected function checkLine($line, $content, $type) |
36 | 40 | { |
37 | 41 | $line = new $line($content); |
@@ -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 @@ |
||
37 | 37 | return (new $availableCommand)->binding() === $binding; |
38 | 38 | }); |
39 | 39 | |
40 | - if (! $command[0]) { |
|
40 | + if (!$command[0]) { |
|
41 | 41 | throw new Exceptions\UnknowCommand(); |
42 | 42 | } |
43 | 43 |