mirror of
https://github.com/jonathan-martz/pocketbase-php-sdk.git
synced 2026-04-03 07:27:42 +00:00
Merge pull request #1 from HolyHugo/master
Update Client.php collection function (#1)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user