We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -123,7 +123,7 @@ |
||
123 | 123 | * Check if the application is running in normal conditions |
124 | 124 | * (production env, not in console, not in unit tests). |
125 | 125 | * |
126 | - * @return void |
|
126 | + * @return false|null |
|
127 | 127 | */ |
128 | 128 | private function runningInProduction() |
129 | 129 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function register() |
86 | 86 | { |
87 | - $this->app->bind('CRUD', function ($app) { |
|
87 | + $this->app->bind('CRUD', function($app) { |
|
88 | 88 | return new CRUD($app); |
89 | 89 | }); |
90 | 90 | |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $this->commands($this->commands); |
93 | 93 | |
94 | 94 | // map the elfinder prefix |
95 | - if (! \Config::get('elfinder.route.prefix')) { |
|
95 | + if (!\Config::get('elfinder.route.prefix')) { |
|
96 | 96 | \Config::set('elfinder.route.prefix', \Config::get('backpack.base.route_prefix').'/elfinder'); |
97 | 97 | } |
98 | 98 | } |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | { |
113 | 113 | $crudPubPath = public_path('vendor/backpack/crud'); |
114 | 114 | |
115 | - if (! is_dir($crudPubPath)) { |
|
115 | + if (!is_dir($crudPubPath)) { |
|
116 | 116 | return true; |
117 | 117 | } |
118 | 118 | |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | private function sendUsageStats() |
152 | 152 | { |
153 | 153 | // only do this in production |
154 | - if (! $this->runningInProduction()) { |
|
154 | + if (!$this->runningInProduction()) { |
|
155 | 155 | return; |
156 | 156 | } |
157 | 157 |