From 17ce8b97d8911a98d586a4c89042e98f643ec88c Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 25 Jul 2012 12:02:41 +0100 Subject: [PATCH] Removed typecasting --- src/Oauth2/Server.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,