1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix coercion

This commit is contained in:
Brown 2020-03-31 16:57:08 -04:00
parent 191a3febac
commit d5f43e52e7

View File

@ -792,7 +792,7 @@ class Analyzer
unset($this->existing_issues[$file_path]);
if ($this->file_provider->fileExists($file_path)) {
IssueBuffer::addIssues([$file_path => $issues]);
IssueBuffer::addIssues([$file_path => array_values($issues)]);
}
}
}