@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | if (!empty($supportedScopes)) { |
102 | 102 | if (!empty(array_diff($scopes, $supportedScopes))) { |
103 | 103 | throw new OAuthException('invalid_scope', |
104 | - 'The request scope is invalid. Supported scopes : ' . implode(', ', $supportedScopes), |
|
104 | + 'The request scope is invalid. Supported scopes : '.implode(', ', $supportedScopes), |
|
105 | 105 | 'https://tools.ietf.org/html/rfc6749#section-4.1'); |
106 | 106 | } |
107 | 107 | } |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | if ($client instanceof RegisteredClient && !empty($supportedScopes)) { |
128 | 128 | if (!empty(array_diff($scopes, $supportedScopes))) { |
129 | 129 | throw new OAuthException('invalid_scope', |
130 | - 'The request scope is invalid. Supported scopes : ' . implode(', ', $supportedScopes), |
|
130 | + 'The request scope is invalid. Supported scopes : '.implode(', ', $supportedScopes), |
|
131 | 131 | 'https://tools.ietf.org/html/rfc6749#section-4.1'); |
132 | 132 | } |
133 | 133 | } |