Skip to content

Commit 1c537ff

Browse files
committed
lib\jblond\Diff\SequenceMatcher.php:622 PhanTypeMismatchDimFetch
When fetching an array index from a value of type array<int,array{0:'equal',1:0|mixed,2:1|mixed,3:0|mixed,4:1|mixed}>|array{}, found an array index of type '0', but expected the index to be of type int
1 parent 6c1accb commit 1c537ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jblond/Diff/SequenceMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ public function getGroupedOpcodes(int $context = 3) : array
619619
);
620620
}
621621

622-
if (!empty($group) && !(count($group) == 1 && $group['0']['0'] == 'equal')) {
622+
if (!empty($group) && !(count($group) == 1 && $group[0][0] == 'equal')) {
623623
$groups[] = $group;
624624
}
625625

0 commit comments

Comments
 (0)