From 7d369c2ada1e4f3c0a0939400540796f6f173639 Mon Sep 17 00:00:00 2001 From: dantleech Date: Sun, 22 Apr 2018 16:16:01 +0200 Subject: [PATCH] Fixed docblock Said it could return null, when that was not possible. --- src/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Node.php b/src/Node.php index 7b7055cd..063e6536 100644 --- a/src/Node.php +++ b/src/Node.php @@ -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) {