From 8e4234b4b0030adcbc5a7289ceb37c2494e90ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C5=ABnas=20Dronga?= Date: Thu, 16 Apr 2020 23:30:53 +0300 Subject: [PATCH] archive.prefixUrl can be null, fix #135 --- src/Playbloom/Satisfy/Model/Archive.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Playbloom/Satisfy/Model/Archive.php b/src/Playbloom/Satisfy/Model/Archive.php index 1aebff9..13c3a1f 100644 --- a/src/Playbloom/Satisfy/Model/Archive.php +++ b/src/Playbloom/Satisfy/Model/Archive.php @@ -44,7 +44,7 @@ class Archive private $blacklist = []; /** - * @var string + * @var string|null * @SerializedName("prefix-url") */ private $prefixUrl; @@ -114,12 +114,12 @@ public function setBlacklist(array $blacklist): void $this->blacklist = $blacklist; } - public function getPrefixUrl(): string + public function getPrefixUrl(): ?string { return $this->prefixUrl; } - public function setPrefixUrl(string $prefixUrl): void + public function setPrefixUrl(?string $prefixUrl): void { $this->prefixUrl = $prefixUrl; }