Browse Source

add default getPosts limit

main
ghost 1 year ago
parent
commit
1e7ea16b95
  1. 2
      src/Client.php

2
src/Client.php

@ -149,7 +149,7 @@ class Client @@ -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…
Cancel
Save