1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

SA: only possible return type is a string

This commit is contained in:
Dalibor Karlović 2023-06-09 16:07:41 +02:00
parent 59f45480c4
commit dd0402b6d7
No known key found for this signature in database
GPG Key ID: 096EA4799DFC33B7

View File

@ -127,7 +127,10 @@ class ParserCacheProvider
$cache_location = $this->getCacheLocationForPath($file_path, self::FILE_CONTENTS_CACHE_DIRECTORY);
return $this->cache->getItem($cache_location);
/** @var string $cache_item */
$cache_item = $this->cache->getItem($cache_location);
return $cache_item;
}
/**