From da95360df96571ac95c944983b6cd819e5909f70 Mon Sep 17 00:00:00 2001 From: Thomas Lallement Date: Thu, 3 Aug 2023 10:06:11 +0200 Subject: [PATCH] Update TreeNodePropertiesTrait.php Add missing ``parentNodePath`` property in TreeNodePropertiesTrait as it's used in TreeNodeMethodsTrait to fix the following deprecation (raised starting from PHP 8.2): Creation of dynamic property PTC\NoventoBundle\Entity\Menu::$parentNodePath is deprecated --- src/Model/Tree/TreeNodePropertiesTrait.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Model/Tree/TreeNodePropertiesTrait.php b/src/Model/Tree/TreeNodePropertiesTrait.php index 5a1096e0..89731fcb 100644 --- a/src/Model/Tree/TreeNodePropertiesTrait.php +++ b/src/Model/Tree/TreeNodePropertiesTrait.php @@ -23,4 +23,9 @@ trait TreeNodePropertiesTrait * @var TreeNodeInterface|null */ private $parentNode; + + /** + * @var string + */ + private $parentNodePath; }