@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | protected function registerAuthServiceConfig() |
46 | 46 | { |
47 | - $this->app->singleton('AuthService\Contracts\AuthServiceConfigInterface', function ($app) { |
|
47 | + $this->app->singleton('AuthService\Contracts\AuthServiceConfigInterface', function($app) { |
|
48 | 48 | return \AuthService\AuthServiceConfig::fromArray($app['config']->get('authservice')); |
49 | 49 | }); |
50 | 50 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | protected function registerAuthEventListener() |
58 | 58 | { |
59 | - $this->app->singleton('AuthService\Contracts\AuthEventListenerInterface', function ($app) { |
|
59 | + $this->app->singleton('AuthService\Contracts\AuthEventListenerInterface', function($app) { |
|
60 | 60 | $redirector = $app['redirect']; |
61 | 61 | $config = $app->make('AuthService\Contracts\AuthServiceConfigInterface'); |
62 | 62 | $eventListenerClass = $config->authEventListenerClass(); |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | */ |
73 | 73 | protected function registerAuthService() |
74 | 74 | { |
75 | - $this->app->singleton('AuthService\Contracts\AuthServiceInterface', function ($app) { |
|
75 | + $this->app->singleton('AuthService\Contracts\AuthServiceInterface', function($app) { |
|
76 | 76 | $statefulGuard = $app['auth']->guard(); |
77 | 77 | $eventListener = $app->make('AuthService\Contracts\AuthEventListenerInterface'); |
78 | 78 |