@@ -14,11 +14,11 @@ |
||
14 | 14 | */ |
15 | 15 | public function register() |
16 | 16 | { |
17 | - $this->app->singleton(ChecksCollection::class, function ($app) { |
|
17 | + $this->app->singleton(ChecksCollection::class, 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(ChecksCollection::class)); |
23 | 23 | }); |
24 | 24 |
@@ -22,10 +22,10 @@ |
||
22 | 22 | public function perform() |
23 | 23 | { |
24 | 24 | if ( |
25 | - ! file_exists($this->app->getCachedConfigPath()) || |
|
26 | - ! file_exists($this->app->getCachedPackagesPath()) || |
|
27 | - ! file_exists($this->app->getCachedRoutesPath()) || |
|
28 | - ! file_exists($this->app->getCachedServicesPath()) |
|
25 | + !file_exists($this->app->getCachedConfigPath()) || |
|
26 | + !file_exists($this->app->getCachedPackagesPath()) || |
|
27 | + !file_exists($this->app->getCachedRoutesPath()) || |
|
28 | + !file_exists($this->app->getCachedServicesPath()) |
|
29 | 29 | ) { |
30 | 30 | return $this->fail("Run 'php artisan optimize'"); |
31 | 31 | } |