Skip to content

Commit

Permalink
Merge pull request #8188 from TimWolla/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jun 27, 2022
2 parents 06dd975 + 31ad16d commit d6624c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Provider/StatementsProvider.php
Expand Up @@ -137,7 +137,7 @@ public function getStatementsForFile(string $file_path, string $php_version, ?Pr
if (!$this->parser_cache_provider
|| (!$config->isInProjectDirs($file_path) && strpos($file_path, 'vendor'))
) {
$cache_key = "${file_content_hash}:${php_version}";
$cache_key = "{$file_content_hash}:{$php_version}";
if ($this->statements_volatile_cache->has($cache_key)) {
return $this->statements_volatile_cache->get($cache_key);
}
Expand Down

0 comments on commit d6624c5

Please sign in to comment.