@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | if (!$this->cacheEnabled) { |
| 107 | 107 | $translations = $this->loadCombinedTranslations($locale, $group, $namespace); |
| 108 | 108 | } else { |
| 109 | - $translations = $this->cache->remember($cacheKey, 1440, function () use ($locale, $namespace, $group) { |
|
| 109 | + $translations = $this->cache->remember($cacheKey, 1440, function() use ($locale, $namespace, $group) { |
|
| 110 | 110 | return $this->loadCombinedTranslations($locale, $group, $namespace); |
| 111 | 111 | }); |
| 112 | 112 | } |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | foreach ($translations as $translation) { |
| 222 | 222 | $value = $translation->getTranslation('values', $locale, true); |
| 223 | 223 | |
| 224 | - if (! empty($value)) { |
|
| 224 | + if (!empty($value)) { |
|
| 225 | 225 | array_set($array, $translation->key, $value); |
| 226 | 226 | } |
| 227 | 227 | } |