Skip to content

Commit d33cd02

Browse files
committed
add DOMElement as return type in Crawler::getIterator to support foreach support in ide
1 parent 40dafd4 commit d33cd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Crawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ public function count()
10711071
}
10721072

10731073
/**
1074-
* @return \ArrayIterator
1074+
* @return \ArrayIterator|\DOMElement[]
10751075
*/
10761076
public function getIterator()
10771077
{

0 commit comments

Comments
 (0)