From 432723eafe839558be557473816ba0cc161978f0 Mon Sep 17 00:00:00 2001 From: Mike Colagrosso Date: Tue, 22 Oct 2024 17:12:14 -0600 Subject: [PATCH] Correct return type and typo in GetUrl() --- lib/Collection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Collection.php b/lib/Collection.php index 9c5e51cc..416a245b 100644 --- a/lib/Collection.php +++ b/lib/Collection.php @@ -13,9 +13,9 @@ class Collection{ public ?CollectionType $Type = null; protected ?string $_Url = null; - protected function GetUrl(): ?string{ + protected function GetUrl(): string{ if($this->_Url === null){ - $this->Url = '/collections/' . $this->UrlName; + $this->_Url = '/collections/' . $this->UrlName; } return $this->_Url;