Completed
Pull Request — master (#54)
by
unknown
17:47
created
src/Stream/Helper/CharsetConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
             if ($this->fromCharsetMbSupported && $this->toCharsetMbSupported) {
333 333
                 return mb_convert_encoding($str, $this->toCharset, $this->fromCharset);
334 334
             }
335
-            return iconv($this->fromCharset, $this->toCharset . '//TRANSLIT//IGNORE', $str);
335
+            return iconv($this->fromCharset, $this->toCharset.'//TRANSLIT//IGNORE', $str);
336 336
         }
337 337
         return $str;
338 338
     }
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
     private function findSupportedCharset($cs, &$mbSupported)
353 353
     {
354 354
         /** @see https://github.com/zbateson/MailMimeParser/issues/53 */
355
-        if (preg_match('/UTF\-8/', $cs)){
355
+        if (preg_match('/UTF\-8/', $cs)) {
356 356
             $cs = 'UTF-8';
357 357
         }
358 358
 
Please login to merge, or discard this patch.