Skip to content

Commit

Permalink
8507: There is invalid type in PHPDoc block of \Magento\Framework\Dat…
Browse files Browse the repository at this point in the history
…a\Tree::getNodeById()
  • Loading branch information
RomaKis committed Dec 11, 2017
1 parent bd6d35c commit 2ee2326
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 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,7 +183,7 @@ public function getNodes()
}

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

0 comments on commit 2ee2326

Please sign in to comment.