@@ -17,7 +17,7 @@ |
||
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... |
@@ -96,13 +96,13 @@ discard block |
||
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 |
||
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 |