@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | } |
| 198 | 198 | } |
| 199 | 199 | if ($response === null) { |
| 200 | - if(in_array('none', $promptValues, true)) { |
|
| 200 | + if (in_array('none', $promptValues, true)) { |
|
| 201 | 201 | /** @var \Oauth2\Controller\AuthorizeController $authController */ |
| 202 | 202 | $authController = $oauthServer->getAuthorizeController(); |
| 203 | 203 | $oauthResponse = $oauthServer->getResponse(); |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | $requestedScopes[] = $dbScope; |
| 281 | 281 | } else { |
| 282 | 282 | $response = new OAuth2Response(); |
| 283 | - $response->setError(400, 'invalid_scope', 'Scope ' . $scope . ' does not exist.'); |
|
| 283 | + $response->setError(400, 'invalid_scope', 'Scope '.$scope.' does not exist.'); |
|
| 284 | 284 | $this->handleErrorResponse($response); |
| 285 | 285 | } |
| 286 | 286 | } |