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 41b3de2 commit 09bb9baCopy full SHA for 09bb9ba
src/Node/AbstractNode.php
@@ -80,11 +80,7 @@ public function getId(): string
80
public function getPath(): string
81
{
82
if ($this->path === null) {
83
- if (
84
- $this->parent === null ||
85
- $this->parent->getPath() === null ||
86
- $this->parent->getPath() === false
87
- ) {
+ if ($this->parent === null || $this->parent->getPath() === null || $this->parent->getPath() === false) {
88
$this->path = $this->name;
89
} else {
90
$this->path = $this->parent->getPath() . \DIRECTORY_SEPARATOR . $this->name;
0 commit comments