We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45af332 commit 03159d8Copy full SHA for 03159d8
src/PHPHtmlParser/Dom/Collection.php
@@ -80,7 +80,7 @@ public function count()
80
*/
81
public function getIterator()
82
{
83
- return ArrayIterator($this->collection);
+ return new ArrayIterator($this->collection);
84
}
85
86
/**
0 commit comments