@@ -102,8 +102,7 @@ |
||
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 | } |
@@ -50,8 +50,8 @@ |
||
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 |