[Form] corrected interface bind() method defined against in deprecation notice
This commit is contained in:
parent
d85ce5e5ad
commit
de289d2cfd
@ -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
|
* @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
|
* @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)
|
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);
|
return $this->bind($request);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user