Skip to content

Commit 655c71c

Browse files
committed
Fix
1 parent 879e3c6 commit 655c71c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/CodeQuality/Rector/Equal/UseIdenticalOverEqualWithSameTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function refactor(Node $node): ?Node
103103

104104
private function shouldSkipCompareBoolToNumeric(Type $leftStaticType, Type $rightStaticType): bool
105105
{
106-
// use ! ->no() as to support both yes and maybe
106+
// use ! ->no() as to verify both yes and maybe
107107
if ($leftStaticType instanceof BooleanType) {
108108
return ! $rightStaticType->isNumericString()->no() || ! $rightStaticType->isInteger()->no() ;
109109
}

0 commit comments

Comments
 (0)