diff --git a/src/Symfony/Component/Form/Form.php b/src/Symfony/Component/Form/Form.php index bed1fcb6c376c..e72a51d7c19ed 100644 --- a/src/Symfony/Component/Form/Form.php +++ b/src/Symfony/Component/Form/Form.php @@ -803,7 +803,7 @@ public function all(): array /** * {@inheritdoc} */ - public function add(FormInterface|string $child, string $type = null, array $options = []): static + public function add(FormInterface|string|int $child, string $type = null, array $options = []): static { if ($this->submitted) { throw new AlreadySubmittedException('You cannot add children to a submitted form.'); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy