@@ -220,7 +220,7 @@ |
||
220 | 220 | if (!$value) { |
221 | 221 | return $this; |
222 | 222 | } else { |
223 | - Event::listen(LocaleUpdated::class, function ($event) use ($value) { |
|
223 | + Event::listen(LocaleUpdated::class, function($event) use ($value) { |
|
224 | 224 | /** @var LocaleUpdated $event */ |
225 | 225 | if ($this->needsRefreshLocaleRelation($value, $event->locale)) { |
226 | 226 | $this->removeLocaleRelation(); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $locale = explode(",", preg_replace("/\;q=\d.\d/", "", $locale)); |
37 | 37 | |
38 | - return collect($locale)->first(function ($locale) { |
|
38 | + return collect($locale)->first(function($locale) { |
|
39 | 39 | return $this->isLocaleSupported($locale); |
40 | 40 | }); |
41 | 41 | } |