Skip to content

Commit 366b3b3

Browse files
authored
Update form_collections.rst
wrong namespace
1 parent e69c1a5 commit 366b3b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form/form_collections.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ objects::
8585
Then, create a form class so that a ``Tag`` object can be modified by the user::
8686

8787
// src/Form/Type/TagType.php
88-
namespace App\Form\Type;
88+
namespace App\Form;
8989

9090
use App\Entity\Tag;
9191
use Symfony\Component\Form\AbstractType;
@@ -115,7 +115,7 @@ Notice that you embed a collection of ``TagType`` forms using the
115115
:doc:`CollectionType </reference/forms/types/collection>` field::
116116

117117
// src/Form/Type/TaskType.php
118-
namespace App\Form\Type;
118+
namespace App\Form;
119119

120120
use App\Entity\Task;
121121
use Symfony\Component\Form\AbstractType;

0 commit comments

Comments
 (0)