Completed
Pull Request — master (#341)
by Cristian
02:11
created
src/routes/backpack/base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     'guard'      => config('backpack.base.guard'),
18 18
     'prefix'     => config('backpack.base.route_prefix'),
19 19
 ],
20
-function () {
20
+function() {
21 21
     // if not otherwise configured, setup the auth routes
22 22
     if (config('backpack.base.setup_auth_routes')) {
23 23
         // Authentication Routes...
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,13 +96,13 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function allowCustomGuardDefinitionInRouteGroups()
98 98
     {
99
-        $this->app['router']->matched(function (\Illuminate\Routing\Events\RouteMatched $e) {
99
+        $this->app['router']->matched(function(\Illuminate\Routing\Events\RouteMatched $e) {
100 100
             $route = $e->route;
101 101
             if (!array_has($route->getAction(), 'guard')) {
102 102
                 return;
103 103
             }
104 104
             $routeGuard = array_get($route->getAction(), 'guard');
105
-            $this->app['auth']->resolveUsersUsing(function ($guard = null) use ($routeGuard) {
105
+            $this->app['auth']->resolveUsersUsing(function($guard = null) use ($routeGuard) {
106 106
                 return $this->app['auth']->guard($routeGuard)->user();
107 107
             });
108 108
             $this->app['auth']->setDefaultDriver($routeGuard);
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     public function register()
190 190
     {
191 191
         // register the current package
192
-        $this->app->bind('base', function ($app) {
192
+        $this->app->bind('base', function($app) {
193 193
             return new Base($app);
194 194
         });
195 195
 
Please login to merge, or discard this patch.