Passed
Push — master ( e88490...575397 )
by Alexandre
04:15
created
src/OAuth2/Extensions/OpenID/Endpoints/AuthorizationEndpoint.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,7 @@
 block discarded – undo
102 102
             if($this->idTokenHint['sub'] !== $this->resourceOwner->getIdentifier()) {
103 103
                 if($this->prompt == self::PROMPT_NONE) {
104 104
                     throw new OAuthException('invalid_request');
105
-                }
106
-                else {
105
+                } else {
107 106
                     throw new OAuthException('login_required');
108 107
                 }
109 108
             }
Please login to merge, or discard this patch.
src/OAuth2/Extensions/OpenID/IdTokenManager.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     public function issueIdToken(ClientInterface $client,
53
-                                 ResourceOwnerInterface $resourceOwner,
54
-                                 array $additionalClaims = []): string
53
+                                    ResourceOwnerInterface $resourceOwner,
54
+                                    array $additionalClaims = []): string
55 55
     {
56 56
         $metadata = $client->getMetadata();
57 57
 
Please login to merge, or discard this patch.