Skip to content

Commit

Permalink
Merge pull request #572 from giggsey/giggsey-patch-1
Browse files Browse the repository at this point in the history
Fix PhoneNumber comparison
  • Loading branch information
giggsey authored Apr 19, 2023
2 parents b13d2ab + 301b55f commit 5b5a467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhoneNumber.php
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 5b5a467

Please sign in to comment.