Corrected wrong return documentation for SessionInterface::validateAuthCode() method

This commit is contained in:
lapause 2013-03-20 22:07:30 +01:00 committed by Alex Bilbie
parent 18e1bb33de
commit 26781d2c38

View File

@ -108,7 +108,7 @@ interface SessionInterface
* @param string $clientId The client ID * @param string $clientId The client ID
* @param string $redirectUri The redirect URI * @param string $redirectUri The redirect URI
* @param string $authCode The authorisation code * @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 * is valid otherwise returns false
*/ */
public function validateAuthCode( public function validateAuthCode(