Merge pull request #246 from lucadegasperi/patch-3

Update ResourceServer.php
This commit is contained in:
Alex Bilbie 2014-11-09 09:12:38 +00:00
commit d6e6b8b710

View File

@ -77,11 +77,11 @@ class ResourceServer extends AbstractServer
/**
* Gets the access token
* @return string
* @return \League\OAuth2\Server\Entity\AccessTokenEntity
*/
public function getAccessToken()
{
return $this->accessToken->getId();
return $this->accessToken;
}
/**