2525 * @phpstan-import-type XdebugFunctionCoverageType from XdebugDriver
2626 *
2727 * @phpstan-type TestIdType string
28- * @phpstan-type FunctionCoverageDataType ProcessedFunctionCoverageData
29- * @phpstan-type FunctionCoverageType array<string, array<string, FunctionCoverageDataType>>
28+ * @phpstan-type FunctionCoverageType array<string, array<string, ProcessedFunctionCoverageData>>
3029 * @phpstan-type LineCoverageType array<string, array<int, null|list<TestIdType>>>
3130 */
3231final class ProcessedCodeCoverageData
@@ -235,7 +234,7 @@ private function priorityForLine(array $data, int $line): int
235234 /**
236235 * For a function we have never seen before, copy all data over and simply init the 'hit' array.
237236 *
238- * @param FunctionCoverageDataType |XdebugFunctionCoverageType $functionData
237+ * @param ProcessedFunctionCoverageData |XdebugFunctionCoverageType $functionData
239238 */
240239 private function initPreviouslyUnseenFunction (string $ file , string $ functionName , ProcessedFunctionCoverageData |array $ functionData ): void
241240 {
@@ -251,7 +250,7 @@ private function initPreviouslyUnseenFunction(string $file, string $functionName
251250 * Techniques such as mocking and where the contents of a file are different vary during tests (e.g. compiling
252251 * containers) mean that the functions inside a file cannot be relied upon to be static.
253252 *
254- * @param FunctionCoverageDataType |XdebugFunctionCoverageType $functionData
253+ * @param ProcessedFunctionCoverageData |XdebugFunctionCoverageType $functionData
255254 */
256255 private function initPreviouslySeenFunction (string $ file , string $ functionName , ProcessedFunctionCoverageData |array $ functionData ): void
257256 {
0 commit comments