Skip to content

Commit

Permalink
Fix nullable TagOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
canihavesomecoffee committed Feb 20, 2022
1 parent 13cf94b commit 50f5c1d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 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.4 (20 February 2022)

Bugfix release (nullable types again)

### 2.1.3 (20 February 2022)

**Breaking API changes update**
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Character.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class Character
/**
* Tags.
*
* @var TagOption[]
* @var TagOption[]|null
*/
public array $tagOptions;
public ?array $tagOptions;
}
4 changes: 2 additions & 2 deletions src/Model/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Company
/**
* Tags.
*
* @var TagOption[]
* @var TagOption[]|null
*/
public array $tagOptions;
public ?array $tagOptions;
}
4 changes: 2 additions & 2 deletions src/Model/EpisodeExtendedRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/PeopleExtendedRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/SeasonExtendedRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 50f5c1d

Please sign in to comment.