mirror of
https://github.com/twisterarmy/twister-php.git
synced 2025-02-06 20:04:15 +00:00
add default getPosts limit
This commit is contained in:
parent
75cc6421b8
commit
1e7ea16b95
@ -149,7 +149,7 @@ class Client
|
||||
);
|
||||
}
|
||||
|
||||
public function getPosts(array $userNames, int $limit, array &$errors = []): ?array
|
||||
public function getPosts(array $userNames, int $limit = 20, array &$errors = []): ?array
|
||||
{
|
||||
$data = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user