We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58834da commit 9645295Copy full SHA for 9645295
src/CodeCoverage.php
@@ -406,7 +406,7 @@ function ($value, $key) use ($lines) {
406
if ($data === null || (array_key_exists($line, $this->data[$file]) && $this->data[$file][$line] === null)) {
407
// if the line is marked as "dead code" in either, mark it as dead code in the merged result
408
$this->data[$file][$line] = null;
409
- } else if (!isset($this->data[$file][$line])) {
+ } elseif (!isset($this->data[$file][$line])) {
410
// if no data has been set in the current data, overwrite all
411
$this->data[$file][$line] = $data;
412
} else {
0 commit comments