diff --git a/changelog.md b/changelog.md index e9b9dce..0e253da 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## 2.x +### 2.1.4 (20 February 2022) + +Bugfix release (nullable types again) + ### 2.1.3 (20 February 2022) **Breaking API changes update** diff --git a/src/Model/Character.php b/src/Model/Character.php index f56c29a..0a1c3fd 100644 --- a/src/Model/Character.php +++ b/src/Model/Character.php @@ -141,7 +141,7 @@ class Character /** * Tags. * - * @var TagOption[] + * @var TagOption[]|null */ - public array $tagOptions; + public ?array $tagOptions; } diff --git a/src/Model/Company.php b/src/Model/Company.php index 5f34f81..e1443c9 100644 --- a/src/Model/Company.php +++ b/src/Model/Company.php @@ -105,7 +105,7 @@ class Company /** * Tags. * - * @var TagOption[] + * @var TagOption[]|null */ - public array $tagOptions; + public ?array $tagOptions; } diff --git a/src/Model/EpisodeExtendedRecord.php b/src/Model/EpisodeExtendedRecord.php index 23899ae..eb4349f 100644 --- a/src/Model/EpisodeExtendedRecord.php +++ b/src/Model/EpisodeExtendedRecord.php @@ -70,9 +70,9 @@ class EpisodeExtendedRecord extends EpisodeBaseRecord /** * Tag options for this episode. * - * @var TagOption[] Entries are of type TagOption. + * @var TagOption[]|null */ - public array $tagOptions; + public ?array $tagOptions; /** * Trailers that are available for this episode. * diff --git a/src/Model/PeopleExtendedRecord.php b/src/Model/PeopleExtendedRecord.php index 260b37c..de25065 100644 --- a/src/Model/PeopleExtendedRecord.php +++ b/src/Model/PeopleExtendedRecord.php @@ -90,9 +90,9 @@ class PeopleExtendedRecord extends PeopleBaseRecord /** * The tag options of this person. * - * @var TagOption[] + * @var TagOption[]|null */ - public array $tagOptions; + public ?array $tagOptions; /** * The slug of this person. * diff --git a/src/Model/SeasonExtendedRecord.php b/src/Model/SeasonExtendedRecord.php index a892148..a134ce4 100644 --- a/src/Model/SeasonExtendedRecord.php +++ b/src/Model/SeasonExtendedRecord.php @@ -54,9 +54,9 @@ class SeasonExtendedRecord extends SeasonBaseRecord /** * Tags. * - * @var TagOption[] + * @var TagOption[]|null */ - public array $tagOptions; + public ?array $tagOptions; /** * The country of the season. *