diff --git a/src/Psalm/Internal/Codebase/Analyzer.php b/src/Psalm/Internal/Codebase/Analyzer.php index c225d8b67..51dde9c64 100644 --- a/src/Psalm/Internal/Codebase/Analyzer.php +++ b/src/Psalm/Internal/Codebase/Analyzer.php @@ -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)]); } } }