|
@@ -134,7 +134,9 @@ |
|
|
block discarded – undo |
|
134
|
134
|
*/ |
|
135
|
135
|
$this->app->resolving(AuthorizationServer::class, function(AuthorizationServer $authorizationServer) { |
|
136
|
136
|
foreach(config('oauth2-server.grants') as $grantConfig) { |
|
137
|
|
- if (!(boolean) $grantConfig['enabled']) continue; |
|
|
137
|
+ if (!(boolean) $grantConfig['enabled']) { |
|
|
138
|
+ continue; |
|
|
139
|
+ } |
|
138
|
140
|
|
|
139
|
141
|
/** @var GrantTypeInterface $grant */ |
|
140
|
142
|
$grant = app($grantConfig['class']); |
Please login to merge, or discard this patch.