@@ -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(); |