Skip to content

Commit ac2f3b9

Browse files
committed
Fixed typo on tag service
1 parent ffa4360 commit ac2f3b9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

book/forms.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,11 +1125,12 @@ easy to use in your application.
11251125
<container xmlns="http://symfony.com/schema/dic/services"
11261126
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11271127
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd>
1128-
1129-
<service id="acme_demo.form.type.task"
1128+
<services>
1129+
<service id="acme_demo.form.type.task"
11301130
class="Acme\TaskBundle\Form\Type\TaskType">
1131-
<tag name="form.type" alias="task" />
1132-
</service>
1131+
<tag name="form.type" alias="task" />
1132+
</service>
1133+
</services>
11331134
</container>
11341135
11351136
.. code-block:: php

0 commit comments

Comments
 (0)