Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 19, 2023
1 parent 69cddcf commit 9d3fee4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Psalm/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,8 @@ public function visitComposerAutoloadFiles(ProjectAnalyzer $project_analyzer, ?P
}
}

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;
Expand Down
3 changes: 2 additions & 1 deletion src/Psalm/Internal/Provider/FileReferenceCacheProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ public function setTypeCoverage(array $mixed_counts): void
$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();

Expand Down

0 comments on commit 9d3fee4

Please sign in to comment.