Skip to content

Commit

Permalink
archive.prefixUrl can be null, fix #135
Browse files Browse the repository at this point in the history
  • Loading branch information
ramunasd committed Apr 16, 2020
1 parent c5be6ac commit 8e4234b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Playbloom/Satisfy/Model/Archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Archive
private $blacklist = [];

/**
* @var string
* @var string|null
* @SerializedName("prefix-url")
*/
private $prefixUrl;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 8e4234b

Please sign in to comment.