setData method also accepts objects. Doc should reflect this.
This commit is contained in:
parent
4f1547a811
commit
6a033f3724
@ -98,7 +98,7 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
|
|||||||
/**
|
/**
|
||||||
* Updates the form with default data.
|
* 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
|
* @return FormInterface The form instance
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user