Skip to content

Commit

Permalink
Fix even more nullable types
Browse files Browse the repository at this point in the history
  • Loading branch information
canihavesomecoffee committed Feb 20, 2022
1 parent 8d467b1 commit 9760bd1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Companies.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ class Companies
/**
* Studio.
*
* @var Company[]
* @var Company[]|null
*/
public array $studio;
public ?array $studio;
/**
* Network.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/MovieExtendedRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/SearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ class SearchResult
/**
* Studios.
*
* @var string[]
* @var string[]|null
*/
public array $studios;
public ?array $studios;

/**
* Get the localized name if available.
Expand Down

0 comments on commit 9760bd1

Please sign in to comment.