diff --git a/src/voku/helper/ASCII.php b/src/voku/helper/ASCII.php index 7d8b66d..e6f1af0 100644 --- a/src/voku/helper/ASCII.php +++ b/src/voku/helper/ASCII.php @@ -775,14 +775,14 @@ public static function to_ascii_remap(string $str1, string $str2): array * @param string $str

The input string.

* @param string $language [optional]

Language of the source string. * (default is 'en') | ASCII::*_LANGUAGE_CODE

- * @param bool $remove_unsupported_chars [optional]

Whether or not to remove the + * @param bool $remove_unsupported_chars [optional]

Whether to remove the * unsupported characters.

* @param bool $replace_extra_symbols [optional]

Add some more replacements e.g. "£" with " pound * ".

* @param bool $use_transliterate [optional]

Use ASCII::to_transliterate() for unknown chars.

- * @param bool|null $replace_single_chars_only [optional]

Single char replacement is better for the - * performance, but some languages need to replace more then one char - * at the same time. | NULL === auto-setting, depended on the + * @param bool $replace_single_chars_only [optional]

Single char replacement is better for the + * performance, but some languages need to replace more than one char + * at the same time. If FALSE === auto-setting, depended on the * language

* * @psalm-pure @@ -798,7 +798,7 @@ public static function to_ascii( bool $remove_unsupported_chars = true, bool $replace_extra_symbols = false, bool $use_transliterate = false, - bool $replace_single_chars_only = null + bool $replace_single_chars_only = false ): string { if ($str === '') { return '';