Browse Source

add default getPosts limit

main
ghost 11 months 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