Faker
Faker copied to clipboard
Typo in function's name
There is a typo in the functions's name, it should be tollFreePhoneNumber instead of tollFreeNumber
This will be a breaking change!
@pimjansen The breaking change was to accept the spanish module with a bad named function. The interface spects the function to be called tollFreePhoneNumber instead of tollFreeNumber, so in the current state the spanish language is broken. Try it yourself: Use tollFreePhoneNumber in your current language, be sure it works fine, then change to es_ES language. Are you the reviewer to accept the push? An alternative is to duplicate the function with the right name an keep the old bad_named function, but i think the right answer it to set the function name to the spected one.
According to the docs,
So the function should keep the name accross languages.