diff --git a/README.md b/README.md index aaba0a6..3880809 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ documentation. [tidy](#tidy) [titleize](#titleize-array-ignore) - [toAscii](#toascii-string-locale--en--bool-removeunsupported--true-) + [toAscii](#toascii-string-language--en--bool-removeunsupported--true-) [toBoolean](#toboolean) @@ -919,7 +919,7 @@ s('i like to watch television')->titleize($ignore); // 'I Like to Watch Television' ``` -##### toAscii([, string $locale = 'en' [, bool $removeUnsupported = true ]]) +##### toAscii([, string $language = 'en' [, bool $removeUnsupported = true ]]) Returns an ASCII version of the string. A set of non-ASCII characters are replaced with their closest ASCII counterparts, and the rest are removed