diff --git a/src/Contract/Entity/TreeNodeInterface.php b/src/Contract/Entity/TreeNodeInterface.php index 84187496..e48628ac 100644 --- a/src/Contract/Entity/TreeNodeInterface.php +++ b/src/Contract/Entity/TreeNodeInterface.php @@ -40,7 +40,7 @@ public function getParentNode(): ?self; public function setParentNode(self $treeNode): void; /** - * @param string $path the materialized path, eg: the the materialized path to its parent + * @param string $path the materialized path, eg: the materialized path to its parent */ public function setMaterializedPath(string $path): void; diff --git a/src/Model/Tree/TreeNodeMethodsTrait.php b/src/Model/Tree/TreeNodeMethodsTrait.php index e195838f..adf8f0e6 100644 --- a/src/Model/Tree/TreeNodeMethodsTrait.php +++ b/src/Model/Tree/TreeNodeMethodsTrait.php @@ -57,7 +57,6 @@ public function getParentMaterializedPath(): string public function setParentMaterializedPath(string $path): void { - $this->parentNodePath = $path; } public function getRootMaterializedPath(): string