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