Completed
Pull Request — devel (#21)
by
unknown
47:57 queued 40:09
created
src/controllers/AuthorizeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.