From e4b0b9b3053774c7437df6ed378f94a17191df69 Mon Sep 17 00:00:00 2001 From: Tomasz Mlynski Date: Mon, 6 Dec 2021 18:17:52 +0100 Subject: [PATCH] Remove redundant condition --- src/Psalm/Internal/Analyzer/ProjectAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php index c279965cd..a32260a75 100644 --- a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php @@ -684,7 +684,7 @@ class ProjectAnalyzer true ); - if ($this->project_cache_provider && $this->parser_cache_provider && !$is_diff) { + if ($this->parser_cache_provider && !$is_diff) { $removed_parser_files = $this->parser_cache_provider->deleteOldParserCaches($start_checks); if ($removed_parser_files) {