From 001c15bfad5290f756e64edd4f025038e2bc4655 Mon Sep 17 00:00:00 2001 From: Luca Degasperi Date: Sun, 9 Nov 2014 09:45:20 +0100 Subject: [PATCH] Update ResourceServer.php --- src/ResourceServer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ResourceServer.php b/src/ResourceServer.php index 73199a49..5bc1eaea 100644 --- a/src/ResourceServer.php +++ b/src/ResourceServer.php @@ -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; } /**