Skip to content

Commit 62756a2

Browse files
committed
clear is now public
1 parent fc6cefb commit 62756a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "paquettg/php-html-parser",
2+
"name": "zgolus/paquettg-php-html-parser",
33
"type": "library",
4-
"description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",
4+
"description": "An HTML DOM parser. Fork from paquettg/php-html-parser.",
55
"version": "1.6.4",
66
"keywords": ["html", "dom", "parser"],
7-
"homepage": "https://github.com/paquettg/php-html-parser",
7+
"homepage": "https://github.com/zgolus/php-html-parser",
88
"license": "MIT",
99
"authors": [
1010
{

src/PHPHtmlParser/Dom/HtmlNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function text($lookInChildren = false)
196196
* Call this when something in the node tree has changed. Like a child has been added
197197
* or a parent has been changed.
198198
*/
199-
protected function clear()
199+
public function clear()
200200
{
201201
$this->innerHtml = null;
202202
$this->outerHtml = null;

0 commit comments

Comments
 (0)