Merge pull request #242 from dantleech/at_position_not_return_null
Fixed docblock
This commit is contained in:
Коммит
31cffdb9ab
|
@ -433,7 +433,7 @@ abstract class Node implements \JsonSerializable {
|
|||
* Searches descendants to find a Node at the given position.
|
||||
*
|
||||
* @param $pos
|
||||
* @return Node|null
|
||||
* @return Node
|
||||
*/
|
||||
public function getDescendantNodeAtPosition(int $pos) {
|
||||
foreach ($this->getChildNodes() as $child) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче