From 9ea0d8f0e9a9cff65ab34a54dd5f797402983aa3 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 6 Jul 2012 19:25:40 +0100 Subject: [PATCH] Added scope to newAuthoriseRequst function --- src/oauth2server/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oauth2server/Server.php b/src/oauth2server/Server.php index 73cda428..b3fb984a 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -179,7 +179,7 @@ class Server return $params; } - function newAuthoriseRequest(string $typeId, array $authoriseParams) + public function newAuthoriseRequest(string $typeId, array $authoriseParams) { // Check if the user already has an access token $accessToken = $this->db->hasAccessToken($userId,