Passed
Push — master ( 92142b...f1013d )
by William
11:25
created
src/Translator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     private function loadTranslationsFromFile(string $filename): void
124 124
     {
125
-        if (! is_readable($filename)) {
125
+        if (!is_readable($filename)) {
126 126
             $this->error = self::ERROR_DOES_NOT_EXIST;
127 127
 
128 128
             return;
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
     {
337 337
         // this should contains all strings separated by NULLs
338 338
         $key = implode(chr(0), [$msgid, $msgidPlural]);
339
-        if (! array_key_exists($key, $this->cacheTranslations)) {
339
+        if (!array_key_exists($key, $this->cacheTranslations)) {
340 340
             return $number !== 1 ? $msgidPlural : $msgid;
341 341
         }
342 342
 
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
             return '';
350 350
         }
351 351
 
352
-        if (! isset($list[$select])) {
352
+        if (!isset($list[$select])) {
353 353
             return $list[0];
354 354
         }
355 355
 
Please login to merge, or discard this patch.