Update Client.php collection function (#1)

The collection function had 2 parameters (url and page) that were unused and useless.
This commit is contained in:
BOCKTAELS Hugo
2023-02-22 09:36:30 +01:00
committed by GitHub
parent 2eae1c56ee
commit b06f49d219

View File

@@ -23,7 +23,7 @@ class Client
return new UsersCollection($this->url, 'records'); 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); return new Collection($this->url ,$collection);
} }