From 66e9c1fb33536ca36cf9619c59f13ba915c8b2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Randy=20=C4=8Cupi=C4=87?= Date: Thu, 19 Oct 2023 16:38:33 +0200 Subject: [PATCH] Fix remote resource location refresh --- lib/API/Values/RemoteResourceLocation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/API/Values/RemoteResourceLocation.php b/lib/API/Values/RemoteResourceLocation.php index 86f7a11a..51ca443f 100644 --- a/lib/API/Values/RemoteResourceLocation.php +++ b/lib/API/Values/RemoteResourceLocation.php @@ -86,9 +86,10 @@ public function setWatermarkText(?string $waterMarkText): self public function refresh(self $remoteResourceLocation): self { - $this->remoteResource = $remoteResourceLocation->getRemoteResource(); $this->setSource($remoteResourceLocation->getSource()); $this->setCropSettings($remoteResourceLocation->getCropSettings()); $this->setWatermarkText($remoteResourceLocation->getWatermarkText()); + + return $this; } }