1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00
This commit is contained in:
Daniil Gentili 2023-10-19 21:33:05 +02:00
parent 69cddcf0f6
commit 9d3fee47af
2 changed files with 4 additions and 2 deletions

View File

@ -2324,7 +2324,8 @@ final class Config
}
}
public function getComposerFilePathForClassLike(string $fq_classlike_name): string|false
/** @return string|false */
public function getComposerFilePathForClassLike(string $fq_classlike_name): string|bool
{
if (!$this->composer_class_loader) {
return false;

View File

@ -285,7 +285,8 @@ class FileReferenceCacheProvider
$this->saveCacheItem(self::TYPE_COVERAGE_CACHE_NAME, $mixed_counts);
}
public function getConfigHashCache(): string|false
/** @return string|false */
public function getConfigHashCache(): string|bool
{
$cache_directory = $this->config->getCacheDirectory();