[Form] Removed superfluous reset() call
This commit is contained in:
parent
00bc2708bc
commit
19b483f2ea
@ -552,8 +552,6 @@ class Form implements \IteratorAggregate, FormInterface
|
|||||||
$submittedData = array();
|
$submittedData = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
reset($this->children);
|
|
||||||
|
|
||||||
for (reset($this->children); false !== current($this->children); next($this->children)) {
|
for (reset($this->children); false !== current($this->children); next($this->children)) {
|
||||||
$child = current($this->children);
|
$child = current($this->children);
|
||||||
$name = key($this->children);
|
$name = key($this->children);
|
||||||
|
Reference in New Issue
Block a user