diff --git a/src/OAuth2/AuthServer.php b/src/OAuth2/AuthServer.php index 03b1ba87..1e0b8f24 100644 --- a/src/OAuth2/AuthServer.php +++ b/src/OAuth2/AuthServer.php @@ -280,10 +280,10 @@ class AuthServer } // Complete the flow - return $this->getCurrentGrantType($authParams['grant_type'])->completeFlow($inputParams, $authParams); + return $this->getGrantType($authParams['grant_type'])->completeFlow($inputParams, $authParams); } - protected function getCurrentGrantType($grantType) + protected function getGrantType($grantType) { return self::$grantTypes[$grantType]; }