Skip to content

Commit

Permalink
Merge pull request microsoft#242 from dantleech/at_position_not_retur…
Browse files Browse the repository at this point in the history
…n_null

Fixed docblock
  • Loading branch information
roblourens authored Apr 22, 2018
2 parents 3811d27 + 7d369c2 commit 31cffdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public function getLastChild() {
* 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) {
Expand Down

0 comments on commit 31cffdb

Please sign in to comment.