Skip to content

Commit 9b7c824

Browse files
dktappsondrejmirtes
authored andcommitted
Updated cache key
1 parent 593cc3c commit 9b7c824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/FileTypeMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private function shouldPhpDocNodeBeCachedToDisk(PhpDocNode $phpDocNode): bool
217217
private function getResolvedPhpDocMap(string $fileName): array
218218
{
219219
if (!isset($this->memoryCache[$fileName])) {
220-
$cacheKey = sprintf('%s-phpdocstring-v11-inline-vars', $fileName);
220+
$cacheKey = sprintf('%s-phpdocstring-v12-inline-prefixed-vars', $fileName);
221221
$variableCacheKey = implode(',', array_map(static function (array $file): string {
222222
return sprintf('%s-%d', $file['filename'], $file['modifiedTime']);
223223
}, $this->getCachedDependentFilesWithTimestamps($fileName)));

0 commit comments

Comments
 (0)