Completed
Push — devel ( cac778...cbc34f )
by Philippe
26s queued 13s
created
src/controllers/AuthorizeController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
     /**
327 327
      * Display an error page
328 328
      *
329
-     * @return Response | string
329
+     * @return string | string
330 330
      * @since 1.0.0
331 331
      */
332 332
     public function actionError()
Please login to merge, or discard this 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.