Skip to content

Commit

Permalink
Added missing types in overridden options
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jun 4, 2015
1 parent 2b63f24 commit 62a11d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions reference/forms/types/file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ Overridden Options
data_class
~~~~~~~~~~

**default**: :class:`Symfony\\Component\\HttpFoundation\\File\\File`
**type**: ``string`` **default**: :class:`Symfony\\Component\\HttpFoundation\\File\\File`

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

empty_data
~~~~~~~~~~

**default**: ``null``
**type**: ``mixed`` **default**: ``null``

This option determines what value the field will return when the submitted
value is empty.
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/password.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Overridden Options
trim
~~~~

**default**: ``false``
**type**: ``boolean`` **default**: ``false``

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

0 comments on commit 62a11d5

Please sign in to comment.