[Form] corrected interface bind() method defined against in deprecation notice

This commit is contained in:
Douglas Greenshields 2013-06-11 12:21:03 +01:00
parent d85ce5e5ad
commit de289d2cfd
1 changed files with 2 additions and 2 deletions

View File

@ -649,11 +649,11 @@ class Form implements \IteratorAggregate, FormInterface
* @throws FormException if the method of the request is not one of GET, POST or PUT
*
* @deprecated Deprecated since version 2.1, to be removed in 2.3. Use
* {@link FormConfigInterface::bind()} instead.
* {@link FormInterface::bind()} instead.
*/
public function bindRequest(Request $request)
{
trigger_error('bindRequest() is deprecated since version 2.1 and will be removed in 2.3. Use FormConfigInterface::bind() instead.', E_USER_DEPRECATED);
trigger_error('bindRequest() is deprecated since version 2.1 and will be removed in 2.3. Use FormInterface::bind() instead.', E_USER_DEPRECATED);
return $this->bind($request);
}