From b06f49d219563d4bf64b2cae1a80cd585903b0d9 Mon Sep 17 00:00:00 2001 From: BOCKTAELS Hugo Date: Wed, 22 Feb 2023 09:36:30 +0100 Subject: [PATCH] Update Client.php collection function (#1) The collection function had 2 parameters (url and page) that were unused and useless. --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index b97e438..e601786 100644 --- a/src/Client.php +++ b/src/Client.php @@ -23,7 +23,7 @@ class Client return new UsersCollection($this->url, 'records'); } - public function collection($url,string $collection, int $page = 1) + public function collection(string $collection) { return new Collection($this->url ,$collection); }