Skip to content

Commit 31cffdb

Browse files
authored
Merge pull request #242 from dantleech/at_position_not_return_null
Fixed docblock
2 parents 3811d27 + 7d369c2 commit 31cffdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public function getLastChild() {
433433
* Searches descendants to find a Node at the given position.
434434
*
435435
* @param $pos
436-
* @return Node|null
436+
* @return Node
437437
*/
438438
public function getDescendantNodeAtPosition(int $pos) {
439439
foreach ($this->getChildNodes() as $child) {

0 commit comments

Comments
 (0)