Skip to content

Commit 494f2db

Browse files
$uses is always a TargetCollection at this point
1 parent f659bd2 commit 494f2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodeCoverage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function append(RawCodeCoverageData $rawData, ?string $id = null, bool $a
239239
$linesToBeCovered = $this->targetMapper()->mapTargets($covers);
240240
}
241241

242-
if ($linesToBeCovered !== false && $uses !== null) {
242+
if ($linesToBeCovered !== false) {
243243
$linesToBeUsed = $this->targetMapper()->mapTargets($uses);
244244
}
245245

0 commit comments

Comments
 (0)