Update ResourceServer.php

This commit is contained in:
Luca Degasperi 2014-11-09 09:45:20 +01:00
parent 7fbc563524
commit 001c15bfad

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;
}
/**