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 6ba4ed2 commit 10d12bcCopy full SHA for 10d12bc
PHP/CodeCoverage/Report/Node.php
@@ -135,7 +135,9 @@ public function getId()
135
public function getPath()
136
{
137
if ($this->path === NULL) {
138
- if ($this->parent === NULL) {
+ if ($this->parent === NULL ||
139
+ $this->parent->getPath() == NULL
140
+ ) {
141
$this->path = $this->name;
142
} else {
143
$this->path = $this->parent->getPath() . '/' . $this->name;
0 commit comments