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:
parent
59f45480c4
commit
dd0402b6d7
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user