mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Add blank line above throw
This commit is contained in:
parent
3413c20590
commit
8a78e00a2e
@ -36,6 +36,7 @@ class ClientCredentialsGrant extends AbstractGrant
|
|||||||
|
|
||||||
if (!$client->isConfidential()) {
|
if (!$client->isConfidential()) {
|
||||||
$this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
|
$this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
|
||||||
|
|
||||||
throw OAuthServerException::invalidClient($request);
|
throw OAuthServerException::invalidClient($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user