1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix existing issue check

This commit is contained in:
Brown 2020-03-26 14:25:11 -04:00
parent 4ced26bec2
commit 820bd95d8b

View File

@ -790,7 +790,7 @@ class Analyzer
foreach (array_diff_key($this->files_with_analysis_results, $this->files_to_analyze) as $file_path) {
if (isset($this->existing_issues[$file_path])) {
IssueBuffer::addIssues([$file_path => $this->existing_issues[$file_path]]);
IssueBuffer::addIssues([$file_path => array_values($this->existing_issues[$file_path])]);
}
}