Skip to content

Commit 36a6f9f

Browse files
Narrow type
1 parent 7df89e0 commit 36a6f9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/StaticAnalysis/CachingSourceAnalyser.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ private function read(string $cacheFile): AnalysisResult|false
124124
);
125125
}
126126

127+
/**
128+
* @param non-empty-string $cacheFile
129+
*/
127130
private function write(string $cacheFile, AnalysisResult $result): void
128131
{
129132
file_put_contents(

0 commit comments

Comments
 (0)