From 8a78e00a2eaefc8e19e784f9bb271b5edbc10d22 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Thu, 25 Jul 2019 19:04:44 +0100 Subject: [PATCH] Add blank line above throw --- src/Grant/ClientCredentialsGrant.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Grant/ClientCredentialsGrant.php b/src/Grant/ClientCredentialsGrant.php index fab5932c..691f421b 100644 --- a/src/Grant/ClientCredentialsGrant.php +++ b/src/Grant/ClientCredentialsGrant.php @@ -36,6 +36,7 @@ class ClientCredentialsGrant extends AbstractGrant if (!$client->isConfidential()) { $this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request)); + throw OAuthServerException::invalidClient($request); }