@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | protected function resetLocales(array $locales) |
68 | 68 | { |
69 | - if (! empty($locales)) { |
|
69 | + if (!empty($locales)) { |
|
70 | 70 | Cache::forget('locale_default'); |
71 | 71 | Locale::query()->truncate(); |
72 | 72 | |
@@ -90,9 +90,9 @@ discard block |
||
90 | 90 | 'country' => Locale::getCountry($locale['code']), |
91 | 91 | 'locale' => Locale::getLocale($locale['code']), |
92 | 92 | 'fallback_code' => $locale['fallbackCode'], |
93 | - 'is_default' => ! empty($locale['default']), |
|
94 | - 'is_editable' => ! empty($locale['contentManagementApi']), |
|
95 | - 'is_publishable' => ! empty($locale['contentDeliveryApi']), |
|
93 | + 'is_default' => !empty($locale['default']), |
|
94 | + 'is_editable' => !empty($locale['contentManagementApi']), |
|
95 | + 'is_publishable' => !empty($locale['contentDeliveryApi']), |
|
96 | 96 | ]); |
97 | 97 | } |
98 | 98 | } |