@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | $cache = call_user_func($this->cacheClosure); |
140 | 140 | |
141 | - $this->healthServiceClosure = function () use ( |
|
141 | + $this->healthServiceClosure = function() use ( |
|
142 | 142 | $resourceChecker, |
143 | 143 | $cache |
144 | 144 | ) { |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | */ |
171 | 171 | private function getCacheClosure() |
172 | 172 | { |
173 | - $cacheClosure = function () { |
|
173 | + $cacheClosure = function() { |
|
174 | 174 | return new Cache(); |
175 | 175 | }; |
176 | 176 | |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | */ |
187 | 187 | private function getResourceCheckerClosure($resourceLoader, $cache) |
188 | 188 | { |
189 | - $resourceCheckerInstance = function () use ($resourceLoader, $cache) { |
|
189 | + $resourceCheckerInstance = function() use ($resourceLoader, $cache) { |
|
190 | 190 | return new ResourceChecker($resourceLoader, $cache); |
191 | 191 | }; |
192 | 192 | |
@@ -265,9 +265,9 @@ discard block |
||
265 | 265 | |
266 | 266 | private function registerResourcesRoutes() |
267 | 267 | { |
268 | - collect($this->resourceLoader->getResources())->each(function ($item) { |
|
268 | + collect($this->resourceLoader->getResources())->each(function($item) { |
|
269 | 269 | if (isset($item['routes'])) { |
270 | - collect($item['routes'])->each(function ($route, $key) { |
|
270 | + collect($item['routes'])->each(function($route, $key) { |
|
271 | 271 | $this->registerRoute($route, $key); |
272 | 272 | }); |
273 | 273 | } |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | return; |
303 | 303 | } |
304 | 304 | |
305 | - collect(($routes = $this->getRoutes()))->each(function ($route) { |
|
305 | + collect(($routes = $this->getRoutes()))->each(function($route) { |
|
306 | 306 | $this->registerRoute($route); |
307 | 307 | }); |
308 | 308 | |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | |
328 | 328 | $this->app->singleton( |
329 | 329 | 'pragmarx.health.commands', |
330 | - function () { |
|
330 | + function() { |
|
331 | 331 | return $this->instantiateCommands(); |
332 | 332 | } |
333 | 333 | ); |