Skip to content

Commit 2b382bb

Browse files
authored
Merge pull request paquettg#112 from flowli/master
Inserted return statement.
2 parents da5afae + 6847a77 commit 2b382bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "paquettg/php-html-parser",
2+
"name": "arweb/php-html-parser",
33
"type": "library",
44
"version": "1.7.0",
55
"description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",

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)