Passed
Push — master ( d99d47...09a8b7 )
by Zaahid
08:54 queued 13s
created
src/MbWrapper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
         if ($str !== '') {
348 348
             if ($from !== false && $to === false) {
349 349
                 $str = \mb_convert_encoding($str, 'UTF-8', $from);
350
-                return \iconv('UTF-8', $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', $str);
350
+                return \iconv('UTF-8', $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', $str);
351 351
             } elseif ($from === false && $to !== false) {
352 352
                 $str = \iconv($this->getIconvAlias($fromCharset), 'UTF-8//TRANSLIT//IGNORE', $str);
353 353
                 return \mb_convert_encoding($str, $to, 'UTF-8');
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
             }
357 357
             return \iconv(
358 358
                 $this->getIconvAlias($fromCharset),
359
-                $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE',
359
+                $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE',
360 360
                 $str
361 361
             );
362 362
         }
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
         if ($mb !== false) {
390 390
             return \mb_strlen($str, $mb);
391 391
         }
392
-        return \iconv_strlen($str, $this->getIconvAlias($charset) . '//TRANSLIT//IGNORE');
392
+        return \iconv_strlen($str, $this->getIconvAlias($charset).'//TRANSLIT//IGNORE');
393 393
     }
394 394
 
395 395
     /**
@@ -410,9 +410,9 @@  discard block
 block discarded – undo
410 410
             return $this->convert($this->getSubstr($str, 'UTF-8', $start, $length), 'UTF-8', $ic);
411 411
         }
412 412
         if ($length === null) {
413
-            $length = \iconv_strlen($str, $ic . '//TRANSLIT//IGNORE');
413
+            $length = \iconv_strlen($str, $ic.'//TRANSLIT//IGNORE');
414 414
         }
415
-        return \iconv_substr($str, $start, $length, $ic . '//TRANSLIT//IGNORE');
415
+        return \iconv_substr($str, $start, $length, $ic.'//TRANSLIT//IGNORE');
416 416
     }
417 417
 
418 418
     /**
Please login to merge, or discard this patch.