Skip to content

Commit 0696daf

Browse files
committed
Fixed errors, typos and grammar issues. (I managed to fail at everything!)
1 parent 8eb1240 commit 0696daf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

best_practices/forms.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,15 @@ Custom Form Field Types
213213

214214
.. best-practice::
215215

216-
Add the ``app.`` prefix to your custom form field types to avoid collisions.
216+
Add the ``app_`` prefix to your custom form field types to avoid collisions.
217217

218-
Custom form field types extend from the ``AbstractType`` class, which defines the
218+
Custom form field types inherit from the ``AbstractType`` class, which defines the
219219
``getName()`` method to configure the name of that form type. These names must
220220
be unique in the application.
221221

222222
If a custom form type uses the same name as any of the Symfony's built-in form
223223
types, it will override it. The same happens when the custom form type matches
224-
any of the types defined by the third-party bundles installed in you application.
224+
any of the types defined by the third-party bundles installed in your application.
225225

226-
Add the ``app.`` prefix to your custom form field types to avoid name collisions
226+
Add the ``app_`` prefix to your custom form field types to avoid name collisions
227227
that can lead to hard to debug errors.

0 commit comments

Comments
 (0)