From bc127d551ab416c4c70a6b3c382635ae2cec1641 Mon Sep 17 00:00:00 2001 From: W0rma Date: Wed, 28 Jul 2021 10:14:50 +0200 Subject: [PATCH] getChildren() can return self or FormError --- src/Symfony/Component/Form/FormErrorIterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Form/FormErrorIterator.php b/src/Symfony/Component/Form/FormErrorIterator.php index f4614844985a0..ec27077fc2b02 100644 --- a/src/Symfony/Component/Form/FormErrorIterator.php +++ b/src/Symfony/Component/Form/FormErrorIterator.php @@ -205,7 +205,7 @@ public function hasChildren() /** * Alias of {@link current()}. * - * @return self + * @return FormError|self */ public function getChildren() {