From a0dc70762d8cc4a7f63eead0a4b9e8c094fa8c99 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sat, 4 May 2024 15:37:02 -0500 Subject: [PATCH] Fix types --- lib/Artist.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Artist.php b/lib/Artist.php index 4462525f..ed6d165a 100644 --- a/lib/Artist.php +++ b/lib/Artist.php @@ -3,10 +3,10 @@ use Safe\DateTimeImmutable; /** * @property ?int $DeathYear - * @property string $UrlName - * @property string $Url - * @property array $AlternateNames - * @property array $_AlternateNames + * @property ?string $UrlName + * @property ?string $Url + * @property ?array $AlternateNames + * @property ?array $_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