Skip to content

Commit 62044f5

Browse files
Update rules/CodeQuality/Rector/BooleanAnd/RepeatedAndNotEqualToNotInArrayRector.php
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
1 parent 2a56a24 commit 62044f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/CodeQuality/Rector/BooleanAnd/RepeatedAndNotEqualToNotInArrayRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private function isStrictComparison(BooleanAnd $booleanAnd): bool
184184
$notIdenticals = $this->betterNodeFinder->findInstanceOf($booleanAnd, NotIdentical::class);
185185
$notEquals = $this->betterNodeFinder->findInstanceOf($booleanAnd, NotEqual::class);
186186

187-
if ($notIenticals !== []) {
187+
if ($notIdenticals !== []) {
188188
// mix identical and equals, keep as is
189189
// @see https://3v4l.org/24cFl
190190
return $notEquals === [];

0 commit comments

Comments
 (0)