Passed
Push — master ( 4b3abd...e88490 )
by Alexandre
04:27 queued 02:47
created
src/OAuth2/Extensions/OpenID/Endpoints/AuthorizationEndpoint.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,7 @@
 block discarded – undo
130 130
                 if($this->idTokenHint['sub'] !== $this->resourceOwner->getIdentifier()) {
131 131
                     if($this->prompt == self::PROMPT_NONE) {
132 132
                         throw new OAuthException('invalid_request');
133
-                    }
134
-                    else {
133
+                    } else {
135 134
                         throw new OAuthException('login_required');
136 135
                     }
137 136
                 }
Please login to merge, or discard this patch.