From 5ba1e411b11a486870d074b6e130689d442f6f16 Mon Sep 17 00:00:00 2001 From: Lasse Mammen Date: Tue, 5 Apr 2022 12:04:38 +0100 Subject: [PATCH] fix: optional param before required --- src/Entity/Book.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Book.php b/src/Entity/Book.php index 2562b53..db2eda2 100644 --- a/src/Entity/Book.php +++ b/src/Entity/Book.php @@ -140,7 +140,7 @@ public static function getAll( public static function getByFilters( Bookboon $bookboon, array $bookTypes = [self::_OWN_TYPE], - array $filters + array $filters = [] ) : BookboonResponse { $variables = [ 'bookType' => join(',', $bookTypes),