@@ -30,12 +30,12 @@ |
||
30 | 30 | { |
31 | 31 | $missingClaims = array_diff(self::REQUIRED_CLAIMS, array_keys($claims)); |
32 | 32 | if (!empty($missingClaims)) { |
33 | - throw new \Exception('Missing claims : ' . implode(', ', $missingClaims)); |
|
33 | + throw new \Exception('Missing claims : '.implode(', ', $missingClaims)); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | $undefinedClaims = array_diff(array_keys($claims), self::DEFINED_CLAIMS); |
37 | 37 | if (!empty($undefinedClaims)) { |
38 | - throw new \Exception('Undefined claims : ' . implode(', ', $undefinedClaims)); |
|
38 | + throw new \Exception('Undefined claims : '.implode(', ', $undefinedClaims)); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | // todo check nonce required if present in authentication request |
@@ -119,7 +119,7 @@ |
||
119 | 119 | foreach (explode(' ', $data['response_type']) as $responseTypeName) { |
120 | 120 | $responseType = $this->server->getResponseTypeRepository()->getResponseType($responseTypeName); |
121 | 121 | if (!$responseType) { |
122 | - throw new OAuthException('invalid_request', 'Unknown response_type : ' . $responseTypeName); |
|
122 | + throw new OAuthException('invalid_request', 'Unknown response_type : '.$responseTypeName); |
|
123 | 123 | } |
124 | 124 | $responseType->verifyRequest($request); |
125 | 125 | $responseTypes[] = $responseType; |