Fix typo in function name

This commit is contained in:
Andrew Millington 2018-09-17 20:10:26 +01:00
parent 4a464dd336
commit 592dd2f433
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

@ -293,7 +293,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
if ($codeChallenge !== null) {
$codeChallengeMethod = $this->getQueryStringParameter('code_challenge_method', $request, 'plain');
if (array_key_exitst($codeChallengeMethod, $this->codeChallengeVerifiers) === false) {
if (array_key_exists($codeChallengeMethod, $this->codeChallengeVerifiers) === false) {
throw OAuthServerException::invalidRequest(
'code_challenge_method',
'Code challenge method must be one of ' . implode(', ', array_map(