Skip to content

Commit

Permalink
fixed #228 - Fixed documentation and added typew hint
Browse files Browse the repository at this point in the history
  • Loading branch information
paquettg committed Aug 23, 2020
1 parent c116346 commit 382b98c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PHPHtmlParser/Dom/Node/AbstractNode.php
Expand Up @@ -154,9 +154,9 @@ public function id(): int
/**
* Returns the parent of node.
*
* @return AbstractNode
* @return InnerNode
*/
public function getParent()
public function getParent(): ?InnerNode
{
return $this->parent;
}
Expand Down

0 comments on commit 382b98c

Please sign in to comment.