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 4b53251 commit 318935fCopy full SHA for 318935f
PHP/CodeCoverage/Report/HTML/Node.php
@@ -135,11 +135,11 @@ public function getId()
135
{
136
if (!isset($this->cache['id'])) {
137
if ($this->parent === NULL) {
138
- $this->cache['id'] = 'index';
+ $this->cache['id'] = 'root';
139
} else {
140
$parentId = $this->parent->getId();
141
142
- if ($parentId == 'index') {
+ if ($parentId == 'root') {
143
$this->cache['id'] = $this->getName();
144
145
$this->cache['id'] = $parentId . '_' . $this->getName();
0 commit comments