Test Failed
Push — master ( 96e84a...250e59 )
by Antonio Carlos
04:15 queued 01:52
created
src/ServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.