From ec76c0f0d8fb5ea047a04d5cbf3ba38203dfdcee Mon Sep 17 00:00:00 2001 From: Mark van Eijk Date: Fri, 10 May 2024 15:16:22 +0200 Subject: [PATCH] wip --- src/CachesValue.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CachesValue.php b/src/CachesValue.php index 613b61e..10a4b92 100644 --- a/src/CachesValue.php +++ b/src/CachesValue.php @@ -295,9 +295,9 @@ public function markValue($value): string ! config('permanent-cache.components.markers.enabled') || ! is_subclass_of($this, CachedComponent::class) ) { - return (string) $value; + return $value; } - return $this->getMarker().$value.$this->getMarker(close: true); + return (string) $this->getMarker().$value.$this->getMarker(close: true); } }