Passed
Push — master ( cd0cec...4b3abd )
by Alexandre
06:20
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.