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:
commit
f4c05e3fe8
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user