Skip to content

Commit a486ad1

Browse files
committed
Fix: Describe iterable type
1 parent f9c439c commit a486ad1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Report/Html/Renderer/File.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
use function str_replace;
103103
use function token_get_all;
104104
use function trim;
105+
use SebastianBergmann\CodeCoverage\CodeCoverage;
105106
use SebastianBergmann\CodeCoverage\FileCouldNotBeWrittenException;
106107
use SebastianBergmann\CodeCoverage\Node\File as FileNode;
107108
use SebastianBergmann\CodeCoverage\Util\Percentage;
@@ -113,7 +114,7 @@
113114
* @phpstan-import-type ProcessedTraitType from FileNode
114115
* @phpstan-import-type ProcessedMethodType from FileNode
115116
* @phpstan-import-type ProcessedFunctionType from FileNode
116-
* @phpstan-import-type TestType from FileNode
117+
* @phpstan-import-type TestType from CodeCoverage
117118
*
118119
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
119120
*/
@@ -907,7 +908,8 @@ private function renderPathStructure(FileNode $node): string
907908
}
908909

909910
/**
910-
* @param list<string> $codeLines
911+
* @param list<string> $codeLines
912+
* @param array<string, TestType> $testData
911913
*/
912914
private function renderPathLines(array $path, array $branches, array $codeLines, array $testData): string
913915
{

0 commit comments

Comments
 (0)