From 820bd95d8b310b8fee6a16c72411028c6bf84cf5 Mon Sep 17 00:00:00 2001 From: Brown Date: Thu, 26 Mar 2020 14:25:11 -0400 Subject: [PATCH] Fix existing issue check --- src/Psalm/Internal/Codebase/Analyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Codebase/Analyzer.php b/src/Psalm/Internal/Codebase/Analyzer.php index 93c2606ed..1637cfae9 100644 --- a/src/Psalm/Internal/Codebase/Analyzer.php +++ b/src/Psalm/Internal/Codebase/Analyzer.php @@ -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])]); } }