1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 09:54:03 +00:00

fix __set() return type

This commit is contained in:
Samuel Štancl 2024-03-12 13:10:41 +01:00
parent e595c73cc3
commit 686d0cb353

View file

@ -373,13 +373,9 @@ class SEOManager
return $this->get(Str::snake($key, '.')); return $this->get(Str::snake($key, '.'));
} }
/** /** Handle magic set. */
* Handle magic set. public function __set(string $key, string $value): void
*
* @return string|array|null
*/
public function __set(string $key, string $value)
{ {
return $this->set(Str::snake($key, '.'), $value); $this->set(Str::snake($key, '.'), $value);
} }
} }