Completed
Push — master ( 75c9f6...102369 )
by Mike
13s
created
src/Providers/Service.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     {
15 15
         app('router')->group($this->middlewareGroupExists('web')
16 16
             ? ['middleware' => 'web']
17
-            : [], function () {
17
+            : [], function() {
18 18
                 require __DIR__ . '/../../routes/web.php';
19 19
 
20 20
                 if (app('env') === 'testing') {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $routes = collect(app('router')->getRoutes()->getRoutes());
69 69
 
70
-        return $routes->reduce(function ($carry, Route $route) use ($group) {
70
+        return $routes->reduce(function($carry, Route $route) use ($group) {
71 71
             $carry = ($carry ?? false) ?: false;
72 72
             $actions = (array) $route->getAction();
73 73
 
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
 
84 84
     protected function shouldRegisterGlobalMiddleware() : bool
85 85
     {
86
-        return (! request()->ajax()
87
-            && ! $this->shouldRegisterRouteMiddleware()
86
+        return (!request()->ajax()
87
+            && !$this->shouldRegisterRouteMiddleware()
88 88
             && (php_sapi_name() === 'fpm-fcgi' || app('env') === 'testing'));
89 89
     }
90 90
 
Please login to merge, or discard this patch.