Merge branch 'V5-WIP' of github.com:thephpleague/oauth2-server into V5-WIP

This commit is contained in:
Alex Bilbie 2016-03-22 14:45:14 +00:00
commit ca54a387c8

View File

@ -64,11 +64,11 @@ class PasswordGrant extends AbstractGrant
/**
* @param \Psr\Http\Message\ServerRequestInterface $request
*
* @param ScopeEntityInterface[] $scopes
*
* @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface
* @throws \League\OAuth2\Server\Exception\OAuthServerException
*
* @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface
*/
protected function validateUser(ServerRequestInterface $request, array &$scopes)
{