@@ -332,7 +332,7 @@ discard block |
||
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 |
||
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 |