From de635f826fbb9ab6dad1f4c6e81cc8560a7ac59d Mon Sep 17 00:00:00 2001 From: Luca Degasperi Date: Mon, 11 Apr 2016 15:59:47 +0200 Subject: [PATCH] Update AbstractGrant.php The hint is not necessary since it gets created by the exception with the parameter. --- src/Grant/AbstractGrant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index ac5591f5..495a08f6 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -148,7 +148,7 @@ abstract class AbstractGrant implements GrantTypeInterface $this->getServerParameter('PHP_AUTH_USER', $request) ); 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