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

Make default & modifier setters chainable

This commit is contained in:
Samuel Štancl 2021-05-24 18:29:07 +02:00
parent 5732fc8a57
commit 8b6e049830
2 changed files with 6 additions and 0 deletions

View file

@ -206,7 +206,9 @@ class SEOManager
if (isset($arguments[0])) {
$this->set($key, $arguments[0]);
}
if (isset($arguments[0]) || isset($arguments['default']) || isset($arguments['modifier']) || isset($arguments['modify'])) {
return $this;
}