Skip to content

Commit c71e75e

Browse files
committed
Result cache - fix restoring errors from stub files
1 parent 8fd0fda commit c71e75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/ResultCache/ResultCacheManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
234234
$filteredExportedNodes = [];
235235
$newFileAppeared = false;
236236

237-
foreach ($this->getStubFiles() as $stubFile) {
237+
foreach (array_keys($this->getStubFiles()) as $stubFile) {
238238
if (!array_key_exists($stubFile, $errors)) {
239239
continue;
240240
}

0 commit comments

Comments
 (0)