We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"+479090909".phony_formatted(:normalize => :NO, :format => :international) NoMethodError: undefined method split' for 1:Fixnum from /phony-2.0.1/lib/phony/country_codes.rb:70:insplit'
split' for 1:Fixnum from /phony-2.0.1/lib/phony/country_codes.rb:70:in
+479090909 is missing a digit and is thus invalid. From Phony:
Phony.plausible?('+479090909', cc: '47') => false
The text was updated successfully, but these errors were encountered:
What would you return on invalid phone strings? An empty string? nil?
Sorry, something went wrong.
Well since this is a wrapper lib and the function is for formatting I think it should return nil.
No branches or pull requests
"+479090909".phony_formatted(:normalize => :NO, :format => :international)
NoMethodError: undefined method
split' for 1:Fixnum from /phony-2.0.1/lib/phony/country_codes.rb:70:in
split'+479090909 is missing a digit and is thus invalid. From Phony:
Phony.plausible?('+479090909', cc: '47')
=> false
The text was updated successfully, but these errors were encountered: