merged branch samuelwilliams/formDoc (PR #5928)

This PR was squashed before being merged into the master branch (closes #5928).

Commits
-------

6a033f3 setData method also accepts objects. Doc should reflect this.

Discussion
----------

setData method also accepts objects. Doc should reflect this.

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: NA
Todo: None
License of the code: MIT
Documentation PR: None
This commit is contained in:
Fabien Potencier 2012-11-12 10:51:00 +01:00
commit f4c05e3fe8

View File

@ -98,7 +98,7 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
/**
* Updates the form with default data.
*
* @param array $modelData The data formatted as expected for the underlying object
* @param mixed $modelData The data formatted as expected for the underlying object
*
* @return FormInterface The form instance
*