Skip to content

Commit 3c2b353

Browse files
committed
Enhancement: Extract local type alias
1 parent 68b5d81 commit 3c2b353

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Data/ProcessedCodeCoverageData.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@
4242
* hit: list<TestIdType>
4343
* }
4444
* @phpstan-type FunctionCoverageType array<string, array<string, FunctionCoverageDataType>>
45+
* @phpstan-type LineCoverageType array<string, array<int, null|list<TestIdType>>>
4546
*/
4647
final class ProcessedCodeCoverageData
4748
{
4849
/**
4950
* Line coverage data.
5051
* An array of filenames, each having an array of linenumbers, each executable line having an array of testcase ids.
5152
*
52-
* @var array<string, array<int, null|list<TestIdType>>>
53+
* @var LineCoverageType
5354
*/
5455
private array $lineCoverage = [];
5556

0 commit comments

Comments
 (0)