mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
Run php-cs-fixer
This commit is contained in:
parent
cbb33fa269
commit
7937fec988
1 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue