@@ -49,22 +49,22 @@ discard block |
||
| 49 | 49 | /* |
| 50 | 50 | * Load routes |
| 51 | 51 | */ |
| 52 | - if (! $this->app->routesAreCached()) { |
|
| 53 | - require dirname(__DIR__).'/Http/routes.php'; |
|
| 52 | + if (!$this->app->routesAreCached()) { |
|
| 53 | + require dirname(__DIR__) . '/Http/routes.php'; |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /* |
| 57 | 57 | * Load migrations |
| 58 | 58 | */ |
| 59 | 59 | $this->publishes([ |
| 60 | - dirname(__DIR__).'/migrations' => database_path('migrations') |
|
| 60 | + dirname(__DIR__) . '/migrations' => database_path('migrations') |
|
| 61 | 61 | ], 'migrations'); |
| 62 | 62 | |
| 63 | 63 | /* |
| 64 | 64 | * Publish config |
| 65 | 65 | */ |
| 66 | 66 | $this->publishes([ |
| 67 | - dirname(__DIR__).'/config/oauth2-server.php' => config_path('oauth2-server.php'), |
|
| 67 | + dirname(__DIR__) . '/config/oauth2-server.php' => config_path('oauth2-server.php'), |
|
| 68 | 68 | ]); |
| 69 | 69 | |
| 70 | 70 | /* |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | { |
| 83 | 83 | // Merge config |
| 84 | 84 | $this->mergeConfigFrom( |
| 85 | - dirname(__DIR__).'/config/oauth2-server.php', 'oauth2-server' |
|
| 85 | + dirname(__DIR__) . '/config/oauth2-server.php', 'oauth2-server' |
|
| 86 | 86 | ); |
| 87 | 87 | |
| 88 | 88 | /* |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | * Add active grants to authorization server |
| 138 | 138 | */ |
| 139 | 139 | $this->app->resolving(AuthorizationServer::class, function(AuthorizationServer $authorizationServer) { |
| 140 | - foreach(config('oauth2-server.grants') as $grantConfig) { |
|
| 140 | + foreach (config('oauth2-server.grants') as $grantConfig) { |
|
| 141 | 141 | if (!(boolean) $grantConfig['enabled']) continue; |
| 142 | 142 | |
| 143 | 143 | /** @var GrantTypeInterface $grant */ |