From 5ba1e411b11a486870d074b6e130689d442f6f16 Mon Sep 17 00:00:00 2001 From: Lasse Mammen Date: Tue, 5 Apr 2022 12:04:38 +0100 Subject: [PATCH 1/2] 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), From ca2a3c588105a69069dfaafca11e50da7453c16a Mon Sep 17 00:00:00 2001 From: Lasse Mammen Date: Tue, 5 Apr 2022 12:04:57 +0100 Subject: [PATCH 2/2] feat: add php8.1 support --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae1ad66..a5aac08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: operating-system: ['ubuntu-latest'] - php-versions: ['7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] phpunit-versions: ['latest'] steps: