Skip to content

Commit

Permalink
Only return value
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 authored Aug 15, 2024
1 parent a5ad375 commit 1793cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/Concerns/WithSeo.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function bootWithSeo(): void
protected function seoValue(mixed $value, mixed $default = null): mixed
{
if ($value instanceof Closure) {
return value($value) ?? $default;
return value($value);
}

if (method_exists(static::class, $value)) {
Expand Down

0 comments on commit 1793cc1

Please sign in to comment.