Clarified return type of validateAuthCode method

This commit is contained in:
Alex Bilbie 2012-07-25 14:34:19 +01:00
parent b15a2c09b3
commit fdf71b758b

View File

@ -145,8 +145,8 @@ interface Database
* @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 array|null Returns an array if the authorisation * @return int|bool Returns the session ID if the auth code
* code is valid otherwise returns null * is valid otherwise returns false
*/ */
public function validateAuthCode( public function validateAuthCode(
$clientId, $clientId,