Fix types

This commit is contained in:
Alex Cabal 2024-05-04 15:37:02 -05:00
parent 41dd9db4aa
commit a0dc70762d

View file

@ -3,10 +3,10 @@ use Safe\DateTimeImmutable;
/**
* @property ?int $DeathYear
* @property string $UrlName
* @property string $Url
* @property array<string> $AlternateNames
* @property array<string> $_AlternateNames
* @property ?string $UrlName
* @property ?string $Url
* @property ?array<string> $AlternateNames
* @property ?array<string> $_AlternateNames
*/
class Artist{
use Traits\Accessor;
@ -18,7 +18,7 @@ class Artist{
protected ?int $_DeathYear = null;
protected ?string $_UrlName = null;
protected ?string $_Url = null;
protected array $_AlternateNames;
protected ?array $_AlternateNames = null;
// *******
// SETTERS