Skip to content

Commit 82a4f23

Browse files
committed
Remove useless loop
1 parent d71bb6b commit 82a4f23

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/CodeCoverage.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -651,9 +651,7 @@ private function initializeFilesThatAreSeenTheFirstTime(array $data)
651651
}
652652
}
653653

654-
foreach ($functionData['paths'] as $path) {
655-
$this->data[$file]['paths'][$functionName][] = $path;
656-
}
654+
$this->data[$file]['paths'][$functionName] = $functionData['paths'];
657655
}
658656
}
659657
}

0 commit comments

Comments
 (0)