Skip to content

Commit fbd2f2e

Browse files
author
Florian Arndt
committed
Inserted return statement.
1 parent 9663472 commit fbd2f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPHtmlParser/Dom/AbstractNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function __get($key)
8383
case 'tag':
8484
return $this->getTag();
8585
case 'parent':
86-
$this->getParent();
86+
return $this->getParent();
8787
}
8888

8989
return null;

0 commit comments

Comments
 (0)