diff --git a/src/SEOManager.php b/src/SEOManager.php index 706f2fb..1837d9d 100644 --- a/src/SEOManager.php +++ b/src/SEOManager.php @@ -226,9 +226,9 @@ class SEOManager /** Append canonical URL tags to the document head. */ public function withUrl(?string $origin = null): static { - if($origin){ + if ($origin) { $this->url(trim($origin, '/') . '/' . trim(request()->path(), '/')); - }else{ + } else { $this->url(request()->url()); }