diff --git a/changelog.md b/changelog.md index fba3d82..9e1dca3 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## 2.x +### 2.1.6 (20 February 2022) + +Bugfix release (nullable types again) + ### 2.1.5 (20 February 2022) Bugfix release (nullable types again) diff --git a/src/Model/Companies.php b/src/Model/Companies.php index b47d1a8..602c20a 100644 --- a/src/Model/Companies.php +++ b/src/Model/Companies.php @@ -36,9 +36,9 @@ class Companies /** * Studio. * - * @var Company[] + * @var Company[]|null */ - public array $studio; + public ?array $studio; /** * Network. * diff --git a/src/Model/MovieExtendedRecord.php b/src/Model/MovieExtendedRecord.php index 36beff9..513b9f5 100644 --- a/src/Model/MovieExtendedRecord.php +++ b/src/Model/MovieExtendedRecord.php @@ -102,9 +102,9 @@ class MovieExtendedRecord extends MovieBaseRecord /** * Studios for this movie. * - * @var StudioBaseRecord[] + * @var StudioBaseRecord[]|null */ - public array $studios; + public ?array $studios; /** * Subtitle languages for this movie. * diff --git a/src/Model/SearchResult.php b/src/Model/SearchResult.php index 181df5b..cf361e6 100644 --- a/src/Model/SearchResult.php +++ b/src/Model/SearchResult.php @@ -237,9 +237,9 @@ class SearchResult /** * Studios. * - * @var string[] + * @var string[]|null */ - public array $studios; + public ?array $studios; /** * Get the localized name if available.