mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Removed typecasting
This commit is contained in:
parent
d4026677e4
commit
17ce8b97d8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user