diff --git a/src/Symfony/Component/Form/FormErrorIterator.php b/src/Symfony/Component/Form/FormErrorIterator.php index 919b61596988c..a534918406bc0 100644 --- a/src/Symfony/Component/Form/FormErrorIterator.php +++ b/src/Symfony/Component/Form/FormErrorIterator.php @@ -19,10 +19,9 @@ /** * Iterates over the errors of a form. * - * Optionally, this class supports recursive iteration. In order to iterate - * recursively, set the constructor argument $deep to true. Now each element - * returned by the iterator is either an instance of {@link FormError} or of - * {@link FormErrorIterator}, in case the errors belong to a sub-form. + * This class supports recursive iteration. In order to iterate recursively, + * pass a structure of {@link FormError} and {@link FormErrorIterator} objects + * to the $errors constructor argument. * * You can also wrap the iterator into a {@link \RecursiveIteratorIterator} to * flatten the recursive structure into a flat list of errors.