setData method also accepts objects. Doc should reflect this.

This commit is contained in:
Sam Williams 2012-11-07 08:40:27 +11:00 committed by Fabien Potencier
parent 4f1547a811
commit 6a033f3724

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
*