Skip to content

Commit 4346d34

Browse files
committed
Fix: Use local type alias
1 parent 952cc1e commit 4346d34

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
@@ -30,6 +30,7 @@
3030
*
3131
* @phpstan-import-type TestType from CodeCoverage
3232
* @phpstan-import-type FunctionCoverageForFileType from ProcessedCodeCoverageData
33+
* @phpstan-import-type LineCoverageForFileType from ProcessedCodeCoverageData
3334
*/
3435
final readonly class Builder
3536
{
@@ -133,7 +134,7 @@ private function addItems(Directory $root, array $items, array $tests): void
133134
* )
134135
* </code>
135136
*
136-
* @return array<string, array<string, array{lineCoverage: array<int, int>, functionCoverage: FunctionCoverageForFileType}>>
137+
* @return array<string, array<string, array{lineCoverage: LineCoverageForFileType, functionCoverage: FunctionCoverageForFileType}>>
137138
*/
138139
private function buildDirectoryStructure(ProcessedCodeCoverageData $data): array
139140
{

0 commit comments

Comments
 (0)