Update AbstractGrant.php

The hint is not necessary since it gets created by the exception with the parameter.
This commit is contained in:
Luca Degasperi 2016-04-11 15:59:47 +02:00
parent 3e8577f889
commit de635f826f

View File

@ -148,7 +148,7 @@ abstract class AbstractGrant implements GrantTypeInterface
$this->getServerParameter('PHP_AUTH_USER', $request) $this->getServerParameter('PHP_AUTH_USER', $request)
); );
if (is_null($clientId)) { if (is_null($clientId)) {
throw OAuthServerException::invalidRequest('client_id', '`%s` parameter is missing'); throw OAuthServerException::invalidRequest('client_id');
} }
// If the client is confidential require the client secret // If the client is confidential require the client secret