Skip to content

Commit

Permalink
merged branch samuelwilliams/formDoc (PR #5928)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fabpot committed Nov 12, 2012
2 parents 8c244e3 + 6a033f3 commit f4c05e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/FormInterface.php
Expand Up @@ -98,7 +98,7 @@ public function getErrors();
/**
* 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
*
Expand Down

0 comments on commit f4c05e3

Please sign in to comment.