Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62a11d5

Browse files
committed
Added missing types in overridden options
1 parent 2b63f24 commit 62a11d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reference/forms/types/file.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ Overridden Options
3535
data_class
3636
~~~~~~~~~~
3737

38-
**default**: :class:`Symfony\\Component\\HttpFoundation\\File\\File`
38+
**type**: ``string`` **default**: :class:`Symfony\\Component\\HttpFoundation\\File\\File`
3939

4040
This option sets the appropriate file-realted data mapper to be used by the type.
4141

4242
empty_data
4343
~~~~~~~~~~
4444

45-
**default**: ``null``
45+
**type**: ``mixed`` **default**: ``null``
4646

4747
This option determines what value the field will return when the submitted
4848
value is empty.

reference/forms/types/password.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Overridden Options
5252
trim
5353
~~~~
5454

55-
**default**: ``false``
55+
**type**: ``boolean`` **default**: ``false``
5656

5757
Unlike the rest of form types, the ``password`` type doesn't apply the
5858
:phpfunction:`trim` function to the value submitted by the user. This ensures that

0 commit comments

Comments
 (0)