mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
fix __set() return type
This commit is contained in:
parent
e595c73cc3
commit
686d0cb353
1 changed files with 3 additions and 7 deletions
|
|
@ -373,13 +373,9 @@ class SEOManager
|
|||
return $this->get(Str::snake($key, '.'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle magic set.
|
||||
*
|
||||
* @return string|array|null
|
||||
*/
|
||||
public function __set(string $key, string $value)
|
||||
/** Handle magic set. */
|
||||
public function __set(string $key, string $value): void
|
||||
{
|
||||
return $this->set(Str::snake($key, '.'), $value);
|
||||
$this->set(Str::snake($key, '.'), $value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue