Skip to content

Commit 526bb0d

Browse files
committed
Microoptimization
1 parent ffb7796 commit 526bb0d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Analyser/ResultCache/ResultCacheManager.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public function restore(array $allAnalysedFiles, bool $debug): ResultCache
9393
$errors = $data['errors'];
9494
$filteredErrors = [];
9595
foreach ($allAnalysedFiles as $analysedFile) {
96-
if (!is_file($analysedFile)) {
97-
continue;
98-
}
9996
if (array_key_exists($analysedFile, $errors)) {
10097
$filteredErrors[$analysedFile] = $errors[$analysedFile];
10198
}

0 commit comments

Comments
 (0)