From 26781d2c380176ef8725c87b15d1cc1b7dc52f70 Mon Sep 17 00:00:00 2001 From: lapause Date: Wed, 20 Mar 2013 22:07:30 +0100 Subject: [PATCH] Corrected wrong return documentation for SessionInterface::validateAuthCode() method --- src/OAuth2/Storage/SessionInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/Storage/SessionInterface.php b/src/OAuth2/Storage/SessionInterface.php index 60c126ac..4ab8a3c4 100644 --- a/src/OAuth2/Storage/SessionInterface.php +++ b/src/OAuth2/Storage/SessionInterface.php @@ -108,7 +108,7 @@ interface SessionInterface * @param string $clientId The client ID * @param string $redirectUri The redirect URI * @param string $authCode The authorisation code - * @return int|bool Returns the session ID if the auth code + * @return array|bool Returns an array with the session ID in the 'id' key if the auth code * is valid otherwise returns false */ public function validateAuthCode(