app/library/Navigation/*: fixing some phpdoc comments and add proper types to arguments.
This commit is contained in:
parent
751befc156
commit
6756c5c5b4
2 changed files with 10 additions and 6 deletions
|
|
@ -29,7 +29,8 @@ class Container
|
|||
|
||||
/**
|
||||
* @param $child
|
||||
* @return Node
|
||||
* @return Container
|
||||
* @throws Exception
|
||||
*/
|
||||
public function addChild($child)
|
||||
{
|
||||
|
|
@ -69,7 +70,8 @@ class Container
|
|||
|
||||
/**
|
||||
* @param $children
|
||||
* @return Node
|
||||
* @return Container
|
||||
* @throws Exception
|
||||
*/
|
||||
public function addChildren($children)
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue