Skip to content

Commit

Permalink
fix: bug fixes for test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ging-dev committed Oct 17, 2023
1 parent 8ee8750 commit 18c037e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Diff/FileStatementsDiffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static function (
if ($diff_elem->old->getDocComment() === $diff_elem->new->getDocComment()) {
$keep = [...$keep, ...$class_keep[0]];
} else {
$keep_signature = [...$keep_signature, ...$class_keep[0]];
$add_or_delete = [...$add_or_delete, ...$class_keep[0]];
}
$keep_signature = [...$keep_signature, ...$class_keep[1]];
$add_or_delete = [...$add_or_delete, ...$class_keep[2]];
Expand Down

0 comments on commit 18c037e

Please sign in to comment.