Skip to content

Commit 5c7154c

Browse files
committed
Fixed fatal namespace mixing bug in Dom
1 parent 4a34bbf commit 5c7154c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dom.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ public function find(object $dom, string $selection)
4949
/**
5050
* Create and parse an empty html string as a DOM element
5151
*
52-
* @return Dom
52+
* @return \PHPHtmlParser\Dom
5353
*/
5454
private function emptyElement()
5555
{
56-
$dom = new Dom;
56+
$dom = new \PHPHtmlParser\Dom;
5757
$dom->load('<a src="" href="" data-video=""></a>');
5858
return $dom;
5959
}

0 commit comments

Comments
 (0)