From 0878897969955dd59a5c455fa97dbe9baa51f0b5 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 9 Dec 2014 14:15:36 +0100 Subject: [PATCH 1/3] Fix API CS. --- src/Storage/AuthCodeInterface.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Storage/AuthCodeInterface.php b/src/Storage/AuthCodeInterface.php index c95f636f..c066d809 100644 --- a/src/Storage/AuthCodeInterface.php +++ b/src/Storage/AuthCodeInterface.php @@ -32,7 +32,6 @@ interface AuthCodeInterface extends StorageInterface * @param integer $expireTime Token expire time * @param integer $sessionId Session identifier * @param string $redirectUri Client redirect uri - * * @return void */ public function create($token, $expireTime, $sessionId, $redirectUri); From 986dc596278818f08ab80bfad3abed5c8a1ad11a Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 9 Dec 2014 14:36:46 +0100 Subject: [PATCH 2/3] The `create` method returns void. --- src/Storage/AccessTokenInterface.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Storage/AccessTokenInterface.php b/src/Storage/AccessTokenInterface.php index d51c5c04..1c31e304 100644 --- a/src/Storage/AccessTokenInterface.php +++ b/src/Storage/AccessTokenInterface.php @@ -35,10 +35,10 @@ interface AccessTokenInterface extends StorageInterface /** * Creates a new access token - * @param string $token The access token - * @param integer $expireTime The expire time expressed as a unix timestamp - * @param string|integer $sessionId The session ID - * @return \League\OAuth2\Server\Entity\AccessTokenEntity + * @param string $token The access token + * @param integer $expireTime The expire time expressed as a unix timestamp + * @param string|integer $sessionId The session ID + * @return void */ public function create($token, $expireTime, $sessionId); From 3b176fe220cfdf02000e36577bf93f901db1361f Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 9 Dec 2014 14:40:23 +0100 Subject: [PATCH 3/3] Fix API CS. --- src/Storage/AccessTokenInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storage/AccessTokenInterface.php b/src/Storage/AccessTokenInterface.php index 1c31e304..0287c2d1 100644 --- a/src/Storage/AccessTokenInterface.php +++ b/src/Storage/AccessTokenInterface.php @@ -29,7 +29,7 @@ interface AccessTokenInterface extends StorageInterface /** * Get the scopes for an access token * @param \League\OAuth2\Server\Entity\AccessTokenEntity $token The access token - * @return array Array of \League\OAuth2\Server\Entity\ScopeEntity + * @return array Array of \League\OAuth2\Server\Entity\ScopeEntity */ public function getScopes(AccessTokenEntity $token); @@ -45,7 +45,7 @@ interface AccessTokenInterface extends StorageInterface /** * Associate a scope with an acess token * @param \League\OAuth2\Server\Entity\AccessTokenEntity $token The access token - * @param \League\OAuth2\Server\Entity\ScopeEntity $scope The scope + * @param \League\OAuth2\Server\Entity\ScopeEntity $scope The scope * @return void */ public function associateScope(AccessTokenEntity $token, ScopeEntity $scope);