From 592dd2f433ba87058810f32a7ce91cabc511cf78 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Mon, 17 Sep 2018 20:10:26 +0100 Subject: [PATCH] Fix typo in function name --- src/Grant/AuthCodeGrant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grant/AuthCodeGrant.php b/src/Grant/AuthCodeGrant.php index 0514137d..f2db55f0 100644 --- a/src/Grant/AuthCodeGrant.php +++ b/src/Grant/AuthCodeGrant.php @@ -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(