diff --git a/src/PhoneNumber.php b/src/PhoneNumber.php index 77e9903fc..a2ec4f90e 100644 --- a/src/PhoneNumber.php +++ b/src/PhoneNumber.php @@ -522,7 +522,7 @@ public function equals(PhoneNumber $other) && $this->italianLeadingZero === $other->italianLeadingZero && $this->numberOfLeadingZeros === $other->numberOfLeadingZeros && $this->rawInput === $other->rawInput - && $this->countryCodeSource = $other->countryCodeSource + && $this->countryCodeSource === $other->countryCodeSource && $this->preferredDomesticCarrierCode === $other->preferredDomesticCarrierCode; }