From 6991777ff3ba4e4a0e6c1f5fe2f18277700dbcdd Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Fri, 20 Apr 2018 18:33:46 +0100 Subject: [PATCH] Fix blank line spacing issue --- 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 2f33a97c..daeb7849 100644 --- a/src/Grant/AuthCodeGrant.php +++ b/src/Grant/AuthCodeGrant.php @@ -286,7 +286,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant } $codeChallengeMethod = $this->getQueryStringParameter('code_challenge_method', $request, 'plain'); - + if (in_array($codeChallengeMethod, ['plain', 'S256'], true) === false) { throw OAuthServerException::invalidRequest( 'code_challenge_method',