From 2df6446eb2a33f8d1a10c5359884aea6c02d4f70 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 2 Dec 2014 10:20:55 +0100 Subject: [PATCH] Fix bad type hintings. --- examples/relational/Storage/AccessTokenStorage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/relational/Storage/AccessTokenStorage.php b/examples/relational/Storage/AccessTokenStorage.php index 995c6147..c724e43f 100644 --- a/examples/relational/Storage/AccessTokenStorage.php +++ b/examples/relational/Storage/AccessTokenStorage.php @@ -34,7 +34,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface /** * {@inheritdoc} */ - public function getScopes(AbstractTokenEntity $token) + public function getScopes(AccessTokenEntity $token) { $result = Capsule::table('oauth_access_token_scopes') ->select(['oauth_scopes.id', 'oauth_scopes.description']) @@ -73,7 +73,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface /** * {@inheritdoc} */ - public function associateScope(AbstractTokenEntity $token, ScopeEntity $scope) + public function associateScope(AccessTokenEntity $token, ScopeEntity $scope) { Capsule::table('oauth_access_token_scopes') ->insert([ @@ -85,7 +85,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface /** * {@inheritdoc} */ - public function delete(AbstractTokenEntity $token) + public function delete(AccessTokenEntity $token) { Capsule::table('oauth_access_token_scopes') ->where('access_token', $token->getId())