Skip to content

Commit feb247a

Browse files
author
Oleksii Korshenko
authored
MAGETWO-85292: 8507: There is invalid type in PHPDoc block of \Magento\Framework\Data\Tree::getNodeById() #964
2 parents e600fe6 + ceea0ac commit feb247a

File tree

1 file changed

+6
-10
lines changed
  • lib/internal/Magento/Framework/Data

1 file changed

+6
-10
lines changed

lib/internal/Magento/Framework/Data/Tree.php

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,13 @@ class Tree
2323
*/
2424
protected $_nodes;
2525

26-
/**
27-
* Enter description here...
28-
*
29-
*/
3026
public function __construct()
3127
{
3228
$this->_nodes = new NodeCollection($this);
3329
}
3430

3531
/**
36-
* Enter description here...
32+
* Get Tree.
3733
*
3834
* @return \Magento\Framework\Data\Tree
3935
*/
@@ -43,7 +39,7 @@ public function getTree()
4339
}
4440

4541
/**
46-
* Enter description here...
42+
* Load Tree.
4743
*
4844
* @param Node $parentNode
4945
* @return void
@@ -54,7 +50,7 @@ public function load($parentNode = null)
5450
}
5551

5652
/**
57-
* Enter description here...
53+
* Load Node by Node id.
5854
*
5955
* @param int|string $nodeId
6056
* @return void
@@ -177,7 +173,7 @@ public function getChildren($node)
177173
}
178174

179175
/**
180-
* Enter description here...
176+
* Get Nodes.
181177
*
182178
* @return NodeCollection
183179
*/
@@ -187,9 +183,9 @@ public function getNodes()
187183
}
188184

189185
/**
190-
* Enter description here...
186+
* Get Node by id.
191187
*
192-
* @param Node $nodeId
188+
* @param string|int $nodeId
193189
* @return Node
194190
*/
195191
public function getNodeById($nodeId)

0 commit comments

Comments
 (0)