Skip to content

Commit 952cc1e

Browse files
committed
Fix: Use local type alias
1 parent 015ffc7 commit 952cc1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Node/Builder.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
3030
*
3131
* @phpstan-import-type TestType from CodeCoverage
32+
* @phpstan-import-type FunctionCoverageForFileType from ProcessedCodeCoverageData
3233
*/
3334
final readonly class Builder
3435
{
@@ -132,7 +133,7 @@ private function addItems(Directory $root, array $items, array $tests): void
132133
* )
133134
* </code>
134135
*
135-
* @return array<string, array<string, array{lineCoverage: array<int, int>, functionCoverage: array<string, array<int, int>>}>>
136+
* @return array<string, array<string, array{lineCoverage: array<int, int>, functionCoverage: FunctionCoverageForFileType}>>
136137
*/
137138
private function buildDirectoryStructure(ProcessedCodeCoverageData $data): array
138139
{

0 commit comments

Comments
 (0)