Skip to content

Commit

Permalink
remove default country value
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroMGSilva authored and daddyz committed Apr 22, 2019
1 parent 227ac14 commit 596e207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phonelib/phone_analyzer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def parse_single_country(e164, data)
# ==== Attributes
#
# * +phone+ - phone number for parsing
def detect_and_parse(phone, country = nil)
def detect_and_parse(phone, country)
result = {}
Phonelib.phone_data.each do |key, data|
parsed = parse_single_country(phone, data)
Expand Down

0 comments on commit 596e207

Please sign in to comment.