Passed
Push — master ( a94cfc...298752 )
by Maurício
10:31
created
src/Translator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function __construct($cache)
114 114
     {
115
-        if (! $cache instanceof CacheInterface) {
115
+        if (!$cache instanceof CacheInterface) {
116 116
             $cache = new InMemoryCache(new MoParser($cache));
117 117
         }
118 118
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     {
282 282
         // this should contains all strings separated by NULLs
283 283
         $key = implode(chr(0), [$msgid, $msgidPlural]);
284
-        if (! $this->cache->has($key)) {
284
+        if (!$this->cache->has($key)) {
285 285
             return $number !== 1 ? $msgidPlural : $msgid;
286 286
         }
287 287
 
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
         $list = explode(chr(0), $result);
294 294
 
295
-        if (! isset($list[$select])) {
295
+        if (!isset($list[$select])) {
296 296
             return $list[0];
297 297
         }
298 298
 
Please login to merge, or discard this patch.