diff --git a/src/CachedComponent.php b/src/CachedComponent.php index 43eab76..4440d8b 100644 --- a/src/CachedComponent.php +++ b/src/CachedComponent.php @@ -25,7 +25,7 @@ public function resolveView() } if (null !== $cachedValue = $this->get($this->getParameters())) { - return (new HtmlString($this->renderOutput((string) $cachedValue))); + return new HtmlString($this->renderOutput((string) $cachedValue)); } }