From 53c7fca8c7e46bf0f9b4774fa876c4c36cfaf4fd Mon Sep 17 00:00:00 2001 From: rbo Date: Fri, 7 Jan 2022 17:00:25 +0000 Subject: [PATCH] chore: Introduce new param seed for frontpage --- src/Entity/Frontpage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Frontpage.php b/src/Entity/Frontpage.php index b1d0d0b..36317d9 100644 --- a/src/Entity/Frontpage.php +++ b/src/Entity/Frontpage.php @@ -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