From d36aede1f0648cbc1edd4f9738128d84c301728e Mon Sep 17 00:00:00 2001 From: Quentin Gabriele Date: Sat, 24 Aug 2024 12:26:09 +0200 Subject: [PATCH] fix stan --- src/SeoData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SeoData.php b/src/SeoData.php index 4695a35..564f070 100644 --- a/src/SeoData.php +++ b/src/SeoData.php @@ -31,7 +31,7 @@ public function __construct( public ?array $schemas = null, public ?SeoTags $customTags = null, ) { - $this->title = $title ?? __(config('seo.title')) ?? ''; + $this->title = $title ?? __(config('seo.title')); $this->canonical = $canonical ?? URL::current(); $this->description = $description ?? __(config('seo.description')); $this->robots = $robots ?? config('seo.robots');