Skip to content

Commit 5ff9975

Browse files
authored
Fix ignore after PHPStan update (#322)
1 parent af834c5 commit 5ff9975

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

composer.lock

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Rule/AllowComparingOnlyComparableTypesRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function isComparableTogether(
139139
}
140140

141141
for ($i = 0; $i < count($leftValueTypes); $i++) {
142-
if (!$this->isComparableTogether($leftValueTypes[$i], $rightValueTypes[$i])) { // @phpstan-ignore offsetAccess.notFound, offsetAccess.notFound
142+
if (!$this->isComparableTogether($leftValueTypes[$i], $rightValueTypes[$i])) { // @phpstan-ignore offsetAccess.notFound
143143
return false;
144144
}
145145
}

0 commit comments

Comments
 (0)