@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | // If the locale name doesn't match POSIX style, just include it as-is. |
171 | - if (! in_array($locale, $localeNames)) { |
|
171 | + if (!in_array($locale, $localeNames)) { |
|
172 | 172 | array_push($localeNames, $locale); |
173 | 173 | } |
174 | 174 | } |
@@ -187,11 +187,11 @@ discard block |
||
187 | 187 | $domain = $this->defaultDomain; |
188 | 188 | } |
189 | 189 | |
190 | - if (! isset($this->domains[$this->locale])) { |
|
190 | + if (!isset($this->domains[$this->locale])) { |
|
191 | 191 | $this->domains[$this->locale] = []; |
192 | 192 | } |
193 | 193 | |
194 | - if (! isset($this->domains[$this->locale][$domain])) { |
|
194 | + if (!isset($this->domains[$this->locale][$domain])) { |
|
195 | 195 | if (isset($this->paths[$domain])) { |
196 | 196 | $base = $this->paths[$domain]; |
197 | 197 | } else { |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | */ |
247 | 247 | public function setlocale(string $locale): string |
248 | 248 | { |
249 | - if (! empty($locale)) { |
|
249 | + if (!empty($locale)) { |
|
250 | 250 | $this->locale = $locale; |
251 | 251 | } |
252 | 252 |