Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix: Adjust iterable type description
  • Loading branch information
localheinz committed Apr 27, 2025
commit f76bf29c7a538421996b6585391179f8167073ff
2 changes: 1 addition & 1 deletion src/Node/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/**
* @param array<string, TestType> $tests
*/
private function addItems(Directory $root, array $items, array $tests): void

Check failure on line 65 in src/Node/Builder.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Method SebastianBergmann\CodeCoverage\Node\Builder::addItems() has parameter $items with no value type specified in iterable type array.

Check failure on line 65 in src/Node/Builder.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Method SebastianBergmann\CodeCoverage\Node\Builder::addItems() has parameter $items with no value type specified in iterable type array.
{
foreach ($items as $key => $value) {
$key = (string) $key;
Expand Down Expand Up @@ -134,7 +134,7 @@
* )
* </code>
*
* @return array<string, array<string, array{lineCoverage: LineCoverageForFileType, functionCoverage: FunctionCoverageForFileType}>>
* @return array<string, array{lineCoverage: LineCoverageForFileType, functionCoverage: FunctionCoverageForFileType}>
*/
private function buildDirectoryStructure(ProcessedCodeCoverageData $data): array
{
Expand Down
Loading