mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +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
|
* @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,
|
||||||
|
Loading…
Reference in New Issue
Block a user