Skip to content

Commit 0c1481a

Browse files
committed
re-run rector
1 parent 8d1b29d commit 0c1481a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

rules/CodeQuality/Rector/Equal/UseIdenticalOverEqualWithSameTypeRector.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,18 @@ private function shouldSkipCompareBoolToNumeric(Type $leftStaticType, Type $righ
108108
if (! $rightStaticType->isNumericString()->no()) {
109109
return true;
110110
}
111-
return ! $rightStaticType->isInteger()->no();
111+
112+
return ! $rightStaticType->isInteger()
113+
->no();
112114
}
113115

114116
if ($rightStaticType instanceof BooleanType) {
115117
if (! $leftStaticType->isNumericString()->no()) {
116118
return true;
117119
}
118-
return ! $leftStaticType->isInteger()->no();
120+
121+
return ! $leftStaticType->isInteger()
122+
->no();
119123
}
120124

121125
return false;

0 commit comments

Comments
 (0)