From 37a4e90b292071c65350239e1eecc0d4e8a39432 Mon Sep 17 00:00:00 2001 From: tnory56 Date: Fri, 29 Apr 2016 19:55:40 -0400 Subject: [PATCH] Fixing issue with hasCountryCodeSource --- src/libphonenumber/PhoneNumber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {