22
33namespace PHPStan \Analyser \ResultCache ;
44
5- use PhpParser \Node ;
65use PHPStan \Analyser \Error ;
76use PHPStan \Analyser \FileAnalyserResult ;
8- use PHPStan \Collectors \Collector ;
7+ use PHPStan \Collectors \CollectedData ;
98use PHPStan \Dependency \RootExportedNode ;
109
1110/**
1211 * @phpstan-import-type LinesToIgnore from FileAnalyserResult
12+ * @phpstan-import-type CollectorData from CollectedData
1313 */
1414final class ResultCache
1515{
@@ -21,7 +21,7 @@ final class ResultCache
2121 * @param array<string, list<Error>> $locallyIgnoredErrors
2222 * @param array<string, LinesToIgnore> $linesToIgnore
2323 * @param array<string, LinesToIgnore> $unmatchedLineIgnores
24- * @param array<string, array<class-string<Collector<Node, mixed>>, list<mixed>>> $collectedData
24+ * @param CollectorData $collectedData
2525 * @param array<string, array<string>> $dependencies
2626 * @param array<string, array<RootExportedNode>> $exportedNodes
2727 * @param array<string, array{string, bool, string}> $projectExtensionFiles
@@ -102,7 +102,7 @@ public function getUnmatchedLineIgnores(): array
102102 }
103103
104104 /**
105- * @return array<string, array<class-string<Collector<Node, mixed>>, list<mixed>>>
105+ * @return CollectorData
106106 */
107107 public function getCollectedData (): array
108108 {
0 commit comments