8000 add DOMElement as return type in Crawler::getIterator to support fore… · symfony/symfony@2350597 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2350597

Browse files
committed
add DOMElement as return type in Crawler::getIterator to support foreach support in ide
1 parent 4650592 commit 2350597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DomCrawler/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)
0