Skip to content

Commit 3cb2a98

Browse files
Narrow type
1 parent 99f27bc commit 3cb2a98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Report/Clover.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use function str_contains;
2121
use function time;
2222
use DOMDocument;
23+
use DOMElement;
2324
use SebastianBergmann\CodeCoverage\CodeCoverage;
2425
use SebastianBergmann\CodeCoverage\Node\File;
2526
use SebastianBergmann\CodeCoverage\Util\Filesystem;
@@ -52,6 +53,7 @@ public function process(CodeCoverage $coverage, ?string $target = null, ?string
5253

5354
$xmlCoverage->appendChild($xmlProject);
5455

56+
/** @var array<non-empty-string, DOMElement> $packages */
5557
$packages = [];
5658
$report = $coverage->getReport();
5759

0 commit comments

Comments
 (0)