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
This commit is contained in:
Fabien Potencier 2013-09-04 08:17:01 +02:00
commit eb9571e2b0
1 changed files with 1 additions and 1 deletions

View File

@ -938,7 +938,7 @@ class Form implements \IteratorAggregate, FormInterface
/**
* Returns the iterator for this group.
*
* @return \Iterator
* @return \Traversable
*/
public function getIterator()
{