Skip to content

Commit

Permalink
MAGETWO-85292: 8507: There is invalid type in PHPDoc block of \Magent…
Browse files Browse the repository at this point in the history
…o\Framework\Data\Tree::getNodeById() #964
  • Loading branch information
Oleksii Korshenko authored Dec 12, 2017
2 parents e600fe6 + ceea0ac commit feb247a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions lib/internal/Magento/Framework/Data/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -43,7 +39,7 @@ public function getTree()
}

/**
* Enter description here...
* Load Tree.
*
* @param Node $parentNode
* @return void
Expand All @@ -54,7 +50,7 @@ public function load($parentNode = null)
}

/**
* Enter description here...
* Load Node by Node id.
*
* @param int|string $nodeId
* @return void
Expand Down Expand Up @@ -177,7 +173,7 @@ public function getChildren($node)
}

/**
* Enter description here...
* Get Nodes.
*
* @return NodeCollection
*/
Expand All @@ -187,9 +183,9 @@ public function getNodes()
}

/**
* Enter description here...
* Get Node by id.
*
* @param Node $nodeId
* @param string|int $nodeId
* @return Node
*/
public function getNodeById($nodeId)
Expand Down

0 comments on commit feb247a

Please sign in to comment.