Skip to content

Commit

Permalink
[Php80] Use identical compare on PromotedPropertyCandidateResolver (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Mar 20, 2024
1 parent 765338e commit 2689095
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private function matchPropertyPromotionCandidate(
Property $property,
ClassMethod $constructClassMethod
): ?PropertyPromotionCandidate {
if ($property->flags == 0) {
if ($property->flags === 0) {
return null;
}

Expand Down

0 comments on commit 2689095

Please sign in to comment.