1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Merge pull request #8188 from TimWolla/patch-1

This commit is contained in:
Bruce Weirdan 2022-06-28 01:29:16 +03:00 committed by GitHub
commit d6624c500a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ class StatementsProvider
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);
}