Skip to content

Commit

Permalink
chore: Introduce new param seed for frontpage
Browse files Browse the repository at this point in the history
  • Loading branch information
robo220 committed Jan 7, 2022
1 parent f04062b commit 53c7fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/Frontpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ class Frontpage extends Entity
* @throws UsageException
* @throws \Bookboon\Api\Exception\ApiDecodeException
*/
public static function get(Bookboon $bookboon, array $bookTypes = ['professional'], ?int $limit = null) : BookboonResponse
public static function get(Bookboon $bookboon, array $bookTypes = ['professional'], ?int $limit = null, ?int $seed = null) : BookboonResponse
{
$bResponse = $bookboon->rawRequest(
'/v1/frontpage',
['bookType' => implode(',', $bookTypes), 'limit' => $limit],
['bookType' => implode(',', $bookTypes), 'limit' => $limit, 'seed' => $seed],
ClientInterface::HTTP_GET,
true,
Frontpage::class
Expand Down

0 comments on commit 53c7fca

Please sign in to comment.