Removed typecasting

This commit is contained in:
Alex Bilbie 2012-07-25 12:02:41 +01:00
parent d4026677e4
commit 17ce8b97d8

View File

@ -199,8 +199,7 @@ maintenance of the server.'
* @param array $authoriseParams The authorise request $_GET parameters * @param array $authoriseParams The authorise request $_GET parameters
* @return string An authorisation code * @return string An authorisation code
*/ */
public function newAuthoriseRequest(string $type, string $typeId, public function newAuthoriseRequest($type, $typeId, $authoriseParams)
array $authoriseParams)
{ {
// Check if the user already has an access token // Check if the user already has an access token
$accessToken = $this->db->hasAccessToken($type, $typeId, $accessToken = $this->db->hasAccessToken($type, $typeId,