Skip to content

Commit 382b98c

Browse files
committed
fixed paquettg#228 - Fixed documentation and added typew hint
1 parent c116346 commit 382b98c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/PHPHtmlParser/Dom/Node/AbstractNode.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ public function id(): int
154154
/**
155155
* Returns the parent of node.
156156
*
157-
* @return AbstractNode
157+
* @return InnerNode
158158
*/
159-
public function getParent()
159+
public function getParent(): ?InnerNode
160160
{
161161
return $this->parent;
162162
}

0 commit comments

Comments
 (0)