From 8d06a7b685b2ad105ce8f88aac9e99369e98ddb8 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 10 May 2013 17:06:05 -0700 Subject: [PATCH] Updated getAuthCodeScopes() in SessionInterface --- src/League/OAuth2/Server/Storage/SessionInterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/League/OAuth2/Server/Storage/SessionInterface.php b/src/League/OAuth2/Server/Storage/SessionInterface.php index af4e0e3a..1cce0c5b 100644 --- a/src/League/OAuth2/Server/Storage/SessionInterface.php +++ b/src/League/OAuth2/Server/Storage/SessionInterface.php @@ -260,7 +260,7 @@ interface SessionInterface * Example SQL query: * * - * SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE session_id = :sessionId + * SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE oauth_session_authcode_id = :authCodeId * * * Expected response: @@ -277,10 +277,10 @@ interface SessionInterface * ) * * - * @param int $sessionId The session ID + * @param int $oauthSessionAuthCodeId The session ID * @return array */ - public function getAuthCodeScopes($sessionId); + public function getAuthCodeScopes($oauthSessionAuthCodeId); /** * Associate a scope with an access token