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:
commit
eb9571e2b0
@ -938,7 +938,7 @@ class Form implements \IteratorAggregate, FormInterface
|
|||||||
/**
|
/**
|
||||||
* Returns the iterator for this group.
|
* Returns the iterator for this group.
|
||||||
*
|
*
|
||||||
* @return \Iterator
|
* @return \Traversable
|
||||||
*/
|
*/
|
||||||
public function getIterator()
|
public function getIterator()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user