Skip to content

Commit

Permalink
Merge branch 'feature/cached-component-markers' of https://github.com…
Browse files Browse the repository at this point in the history
…/vormkracht10/laravel-permanent-cache into feature/cached-component-markers
  • Loading branch information
markvaneijk committed Apr 27, 2024
2 parents 1adef03 + 1e6525c commit 557ea29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CachedComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function resolveView()
}

if (null !== $cachedValue = $this->get($this->getParameters())) {

Check failure on line 27 in src/CachedComponent.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Vormkracht10\PermanentCache\CachedComponent::resolveView() should return Closure|Illuminate\Contracts\Support\Htmlable|Illuminate\Contracts\View\View|string but return statement is missing.
return (new HtmlString($this->renderOutput((string) $cachedValue)));
return new HtmlString($this->renderOutput((string) $cachedValue));
}
}

Expand Down

0 comments on commit 557ea29

Please sign in to comment.