@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | */ |
129 | 129 | private function loadTranslationsFromFile(string $filename): void |
130 | 130 | { |
131 | - if (! is_readable($filename)) { |
|
131 | + if (!is_readable($filename)) { |
|
132 | 132 | $this->error = self::ERROR_DOES_NOT_EXIST; |
133 | 133 | |
134 | 134 | return; |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $translations = $stream->readint($unpack, 16); |
155 | 155 | |
156 | 156 | /* get original and translations tables */ |
157 | - $totalTimesTwo = (int) ($total * 2);// Fix for issue #36 on ARM |
|
157 | + $totalTimesTwo = (int) ($total * 2); // Fix for issue #36 on ARM |
|
158 | 158 | $tableOriginals = $stream->readintarray($unpack, $originals, $totalTimesTwo); |
159 | 159 | $tableTranslations = $stream->readintarray($unpack, $translations, $totalTimesTwo); |
160 | 160 | |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | { |
347 | 347 | // this should contains all strings separated by NULLs |
348 | 348 | $key = implode(chr(0), [$msgid, $msgidPlural]); |
349 | - if (! array_key_exists($key, $this->cacheTranslations)) { |
|
349 | + if (!array_key_exists($key, $this->cacheTranslations)) { |
|
350 | 350 | return $number !== 1 ? $msgidPlural : $msgid; |
351 | 351 | } |
352 | 352 | |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | |
365 | 365 | // @codeCoverageIgnoreEnd |
366 | 366 | |
367 | - if (! isset($list[$select])) { |
|
367 | + if (!isset($list[$select])) { |
|
368 | 368 | return $list[0]; |
369 | 369 | } |
370 | 370 |