Fix coding standard issue

This commit is contained in:
sephster 2018-09-17 12:49:37 +01:00
parent 970df8f34b
commit 4a464dd336
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

@ -297,7 +297,9 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
throw OAuthServerException::invalidRequest(
'code_challenge_method',
'Code challenge method must be one of ' . implode(', ', array_map(
function ($method) { return '`' . $method . '`'; },
function ($method) {
return '`' . $method . '`';
},
array_keys($this->codeChallengeVerifiers)
))
);