diff --git a/src/oauth2server/Server.php b/src/oauth2server/Server.php index 3faf92b6..989af660 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -235,7 +235,7 @@ class Server public function newAuthCode(string $clientId, $type = 'user', string $typeId, string $redirectUri, $scopes = array(), - string $access_token = null) + string $accessToken = null) { $authCode = $this->generateCode();