@@ -134,7 +134,9 @@ |
||
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']); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * Finalizes the authorization process and returns an access code. |
76 | 76 | * |
77 | 77 | * @param UserRepositoryInterface $users |
78 | - * @param ServerRequestInterface $response |
|
78 | + * @param ResponseInterface $response |
|
79 | 79 | * @return ResponseInterface |
80 | 80 | */ |
81 | 81 | public function completeAuthorization(UserRepositoryInterface $users, ServerRequestInterface $request, ResponseInterface $response) |