diff --git a/src/Oauth2/Server.php b/src/Oauth2/Server.php index 7279a67f..9d277509 100644 --- a/src/Oauth2/Server.php +++ b/src/Oauth2/Server.php @@ -199,8 +199,7 @@ maintenance of the server.' * @param array $authoriseParams The authorise request $_GET parameters * @return string An authorisation code */ - public function newAuthoriseRequest(string $type, string $typeId, - array $authoriseParams) + public function newAuthoriseRequest($type, $typeId, $authoriseParams) { // Check if the user already has an access token $accessToken = $this->db->hasAccessToken($type, $typeId,