Skip to content

Commit

Permalink
Microoptimization
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 2, 2020
1 parent ffb7796 commit 526bb0d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Analyser/ResultCache/ResultCacheManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ public function restore(array $allAnalysedFiles, bool $debug): ResultCache
$errors = $data['errors'];
$filteredErrors = [];
foreach ($allAnalysedFiles as $analysedFile) {
if (!is_file($analysedFile)) {
continue;
}
if (array_key_exists($analysedFile, $errors)) {
$filteredErrors[$analysedFile] = $errors[$analysedFile];
}
Expand Down

0 comments on commit 526bb0d

Please sign in to comment.