Skip to content

Commit c80acf9

Browse files
committed
Update PHPDoc for RepositoryInterface::getChildren()
Fixes #2183
1 parent b4302ed commit c80acf9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Tree/RepositoryInterface.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public function getNodesHierarchy($node = null, $direct = false, array $options
3636
/**
3737
* Get list of children followed by given $node
3838
*
39-
* @param object $node - if null, all tree nodes will be taken
40-
* @param bool $direct - true to take only direct children
41-
* @param string $sortByField - field name to sort by
42-
* @param string $direction - sort direction : "ASC" or "DESC"
43-
* @param bool $includeNode - Include the root node in results?
39+
* @param object $node - if null, all tree nodes will be taken
40+
* @param bool $direct - true to take only direct children
41+
* @param null|string|string[] $sortByField - field name(s) to sort by
42+
* @param string $direction - sort direction : "ASC" or "DESC"
43+
* @param bool $includeNode - Include the root node in results?
4444
*
4545
* @return array - list of given $node children, null on failure
4646
*/

0 commit comments

Comments
 (0)