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.
2 parents 45af332 + 03159d8 commit 9e1a0e8Copy full SHA for 9e1a0e8
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