Skip to content

Commit 94298ee

Browse files
committed
minor #12002 Use string instead of FQCN (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- Use string instead of FQCN If the type is string, it should either be: **type**: ``string`` **default**: ``'Symfony\Component\Form\Extension\Core\Type\TextType'`` or **type**: ``string`` **default**: ``Symfony\Component\Form\Extension\Core\Type\TextType::class`` @xabbuh can you please give me some feedback here? Thanks Commits ------- 0c26a3d Use string instead of FQCN
2 parents 44ef7dc + 0c26a3d commit 94298ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/collection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ type::
323323
entry_type
324324
~~~~~~~~~~
325325

326-
**type**: ``string`` **default**: ``Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType``
326+
**type**: ``string`` **default**: ``'Symfony\Component\Form\Extension\Core\Type\TextType'``
327327

328328
This is the field type for each item in this collection (e.g. ``TextType``,
329329
``ChoiceType``, etc). For example, if you have an array of email addresses,

0 commit comments

Comments
 (0)