Skip to content

Commit eb9571e

Browse files
committed
merged branch Tobion/form-phpdoc (PR #8925)
This PR was merged into the 2.3 branch. Discussion ---------- [Form] fix iterator phpdoc It returns IteratorAggregate. But we probably only want to specify Traversable because that is was counts. Fix from #8852 Commits ------- f438ac3 [Form] fix iterator typehint
2 parents a14ba2b + f438ac3 commit eb9571e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ public function offsetUnset($name)
938938
/**
939939
* Returns the iterator for this group.
940940
*
941-
* @return \Iterator
941+
* @return \Traversable
942942
*/
943943
public function getIterator()
944944
{

0 commit comments

Comments
 (0)