From 8728d4f11853d09f7e4942f28fc23ae9ce018f16 Mon Sep 17 00:00:00 2001 From: Tobias Feijten Date: Tue, 7 May 2024 21:14:57 +0200 Subject: [PATCH] Fix dynamically declared property deprecation in TreeNodeMethodsTrait --- src/Contract/Entity/TreeNodeInterface.php | 2 +- src/Model/Tree/TreeNodeMethodsTrait.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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