Client is not required here because of finalizeScopes method

This commit is contained in:
Alex Bilbie
2016-04-10 13:53:16 +01:00
parent 4c0c10ae98
commit a0c4900ee7
7 changed files with 5 additions and 9 deletions

View File

@@ -194,7 +194,6 @@ abstract class AbstractGrant implements GrantTypeInterface
* Validate scopes in the request.
*
* @param string $scopes
* @param \League\OAuth2\Server\Entities\ClientEntityInterface $client
* @param string $redirectUri
*
* @throws \League\OAuth2\Server\Exception\OAuthServerException
@@ -203,7 +202,6 @@ abstract class AbstractGrant implements GrantTypeInterface
*/
public function validateScopes(
$scopes,
ClientEntityInterface $client,
$redirectUri = null
) {
$scopesList = array_filter(