Commit c3a5293615ebe793f5d13d83c9d10c3f2b1bbcbb
1 parent
d1faa09b
code refactoring
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
lib/Converter.php
... | ... | @@ -58,7 +58,7 @@ class Converter implements ConverterInterface |
58 | 58 | public static function convertToString($value) |
59 | 59 | { |
60 | 60 | $convert_func = function ($value_to_convert) { |
61 | - return str_replace(array('!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', '=', '-', '~', '`', '"', "'", ' ', '№', '%', ';', ':', '[', ']', '{', '}', '*', '?', '/', '', '|', '.', ',', '<', '>', '\'), '', $value_to_convert); | |
61 | + return str_replace(array('!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', '=', '-', '~', '`', '"', "'", '№', '%', ';', ':', '[', ']', '{', '}', '*', '?', '/', '', '|', '.', ',', '<', '>', '\'), '', $value_to_convert); | |
62 | 62 | }; |
63 | 63 | |
64 | 64 | if( is_string( $value ) ){ | ... | ... |
lib/Parser.php