@@ -56,8 +56,7 @@ |
||
56 | 56 | foreach ($combinedNamespaces as $namespace) { |
57 | 57 | $bundle = $this->getBundle($locale, $namespace); |
58 | 58 | $bundle = $bundle !== null ? $bundle : $this->getBundle($defaultLocale, $namespace); |
59 | - $data[$locale][$namespace] = $defaultLocale === $locale ? $this->encodeBundle($bundle) : |
|
60 | - $this->encodeMergedBundles($bundle, $this->getBundle($defaultLocale, $namespace)); |
|
59 | + $data[$locale][$namespace] = $defaultLocale === $locale ? $this->encodeBundle($bundle) : $this->encodeMergedBundles($bundle, $this->getBundle($defaultLocale, $namespace)); |
|
61 | 60 | } |
62 | 61 | } |
63 | 62 |
@@ -118,7 +118,7 @@ |
||
118 | 118 | public function setProperties(array $properties): self |
119 | 119 | { |
120 | 120 | // check all keys and values are non-empty strings |
121 | - assert(call_user_func(function () use ($properties) { |
|
121 | + assert(call_user_func(function() use ($properties) { |
|
122 | 122 | $result = true; |
123 | 123 | foreach ($properties as $key => $value) { |
124 | 124 | $result = $result === true && |