Skip to content

Commit

Permalink
Merge pull request #109 from tnory56/master
Browse files Browse the repository at this point in the history
Fixing issue with hasCountryCodeSource
  • Loading branch information
giggsey committed Apr 30, 2016
2 parents 25c37f0 + 37a4e90 commit db2f9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libphonenumber/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ public function __toString()
if ($this->hasExtension()) {
$outputString .= ' Extension: ' . $this->extension;
}
if ($this->hasCountryCode()) {
if ($this->hasCountryCodeSource()) {
$outputString .= ' Country Code Source: ' . $this->countryCodeSource;
}
if ($this->hasPreferredDomesticCarrierCode()) {
Expand Down

0 comments on commit db2f9b1

Please sign in to comment.