1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00

Remove redundant condition

This commit is contained in:
Tomasz Mlynski 2021-12-06 18:17:52 +01:00
parent 5c73d77f28
commit e4b0b9b305
No known key found for this signature in database
GPG Key ID: 665B4A17698A1954

View File

@ -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) {