@@ -14,11 +14,11 @@ |
||
14 | 14 | */ |
15 | 15 | public function register() |
16 | 16 | { |
17 | - $this->app->singleton('system.checks', function ($app) { |
|
17 | + $this->app->singleton('system.checks', function($app) { |
|
18 | 18 | return new ChecksCollection($app); |
19 | 19 | }); |
20 | 20 | |
21 | - $this->app->singleton('command.system.check', function ($app) { |
|
21 | + $this->app->singleton('command.system.check', function($app) { |
|
22 | 22 | return new SystemCheckCommand($app->make('system.checks')); |
23 | 23 | }); |
24 | 24 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Perform the check. |
19 | 19 | * |
20 | - * @return Result |
|
20 | + * @return \Arrilot\SystemCheck\CheckResult |
|
21 | 21 | */ |
22 | 22 | public function perform() |
23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Perform the check. |
19 | 19 | * |
20 | - * @return Result |
|
20 | + * @return \Arrilot\SystemCheck\CheckResult |
|
21 | 21 | */ |
22 | 22 | public function perform() |
23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Perform the check. |
19 | 19 | * |
20 | - * @return Result |
|
20 | + * @return \Arrilot\SystemCheck\CheckResult |
|
21 | 21 | */ |
22 | 22 | public function perform() |
23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Perform the check. |
19 | 19 | * |
20 | - * @return Result |
|
20 | + * @return \Arrilot\SystemCheck\CheckResult |
|
21 | 21 | */ |
22 | 22 | public function perform() |
23 | 23 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function __construct($status, $comment) |
42 | 42 | { |
43 | - if (! in_array($status, $this->possibleStatuses)) { |
|
43 | + if (!in_array($status, $this->possibleStatuses)) { |
|
44 | 44 | throw new InvalidArgumentException("Check result can not have status '{$status}'"); |
45 | 45 | } |
46 | 46 |