Skip to content

Commit ff0c6c3

Browse files
committed
change versionadded to note directive
1 parent ea5aa96 commit ff0c6c3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

form/form_dependencies.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,9 @@ manually and tag it with ``form.type``:
139139
->addTag('form.type')
140140
;
141141
142-
.. versionadded:: 3.3
142+
.. note::
143143

144-
Prior to Symfony 3.3, you needed to define form type services as ``public``.
145-
Starting from Symfony 3.3, you can also define them as ``private``.
144+
Form type services can be ``public`` or ``private``.
146145

147146
That's it! Your controller - where you create the form - doesn't need to change
148147
at all: Symfony is smart enough to load the ``TaskType`` from the container.

form/type_guesser.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ and tag it with ``form.type_guesser``:
216216
->addTag('form.type_guesser')
217217
;
218218
219-
.. versionadded:: 3.3
219+
.. note::
220220

221-
Prior to Symfony 3.3, you needed to define type guesser services as ``public``.
222-
Starting from Symfony 3.3, you can also define them as ``private``.
221+
Type guesser services can be ``public`` or ``private``.
223222

224223
.. sidebar:: Registering a Type Guesser in the Component
225224

0 commit comments

Comments
 (0)