diff --git a/src/libphonenumber/PhoneNumber.php b/src/libphonenumber/PhoneNumber.php index 068ee0dad..ea14da7ea 100644 --- a/src/libphonenumber/PhoneNumber.php +++ b/src/libphonenumber/PhoneNumber.php @@ -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()) {