From bd6d35c41739d4060d87169f2a7f160a2b916eab Mon Sep 17 00:00:00 2001 From: RomanKis Date: Wed, 6 Dec 2017 12:43:40 +0200 Subject: [PATCH 1/2] 8507: There is invalid type in PHPDoc block of \Magento\Framework\Data\Tree::getNodeById() --- lib/internal/Magento/Framework/Data/Tree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Data/Tree.php b/lib/internal/Magento/Framework/Data/Tree.php index b458338184885..b348bc8fdc93b 100644 --- a/lib/internal/Magento/Framework/Data/Tree.php +++ b/lib/internal/Magento/Framework/Data/Tree.php @@ -189,7 +189,7 @@ public function getNodes() /** * Enter description here... * - * @param Node $nodeId + * @param string|int $nodeId * @return Node */ public function getNodeById($nodeId) From 2ee232640aff5b4dba4868122ed2f93628909aae Mon Sep 17 00:00:00 2001 From: RomanKis Date: Mon, 11 Dec 2017 15:37:02 +0200 Subject: [PATCH 2/2] 8507: There is invalid type in PHPDoc block of \Magento\Framework\Data\Tree::getNodeById() --- lib/internal/Magento/Framework/Data/Tree.php | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/internal/Magento/Framework/Data/Tree.php b/lib/internal/Magento/Framework/Data/Tree.php index b348bc8fdc93b..a61c16bbc5d18 100644 --- a/lib/internal/Magento/Framework/Data/Tree.php +++ b/lib/internal/Magento/Framework/Data/Tree.php @@ -23,17 +23,13 @@ class Tree */ protected $_nodes; - /** - * Enter description here... - * - */ public function __construct() { $this->_nodes = new NodeCollection($this); } /** - * Enter description here... + * Get Tree. * * @return \Magento\Framework\Data\Tree */ @@ -43,7 +39,7 @@ public function getTree() } /** - * Enter description here... + * Load Tree. * * @param Node $parentNode * @return void @@ -54,7 +50,7 @@ public function load($parentNode = null) } /** - * Enter description here... + * Load Node by Node id. * * @param int|string $nodeId * @return void @@ -177,7 +173,7 @@ public function getChildren($node) } /** - * Enter description here... + * Get Nodes. * * @return NodeCollection */ @@ -187,7 +183,7 @@ public function getNodes() } /** - * Enter description here... + * Get Node by id. * * @param string|int $nodeId * @return Node