From 392c89de098c45d5e7671d056e2f247d30e89269 Mon Sep 17 00:00:00 2001 From: canihavesomecoffee Date: Sun, 20 Feb 2022 22:21:27 +0100 Subject: [PATCH] Fix even more nullable types --- changelog.md | 4 ++++ src/Model/Companies.php | 16 ++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/changelog.md b/changelog.md index 9e1dca3..5661900 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## 2.x +### 2.1.7 (20 February 2022) + +Bugfix release (nullable types again) + ### 2.1.6 (20 February 2022) Bugfix release (nullable types again) diff --git a/src/Model/Companies.php b/src/Model/Companies.php index 602c20a..2d46657 100644 --- a/src/Model/Companies.php +++ b/src/Model/Companies.php @@ -42,25 +42,25 @@ class Companies /** * Network. * - * @var Company[] + * @var Company[]|null */ - public array $network; + public ?array $network; /** * Production. * - * @var Company[] + * @var Company[]|null */ - public array $production; + public ?array $production; /** * Distributor. * - * @var Company[] + * @var Company[]|null */ - public array $distributor; + public ?array $distributor; /** * Special effects. * - * @var Company[] + * @var Company[]|null */ - public array $special_effects; + public ?array $special_effects; }