Skip to content

Commit e658c30

Browse files
committed
fixed some deprecation messages
1 parent 34522ac commit e658c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ public function handleRequest($request = null)
507507
public function submit($submittedData, $clearMissing = true)
508508
{
509509
if ($submittedData instanceof Request) {
510-
@trigger_error('Passing a Symfony\Component\HttpFoundation\Request object to the '.__CLASS__.'::bind and '.__METHOD__.' methods is deprecated since 2.3 and will be removed in 3.0. Use the '.__CLASS__.'::handleRequest method instead. If you want to test whether the form was submitted separately, you can use the '.__CLASS__.'::isSubmitted method.', E_USER_DEPRECATED);
510+
@trigger_error('Passing a Symfony\Component\HttpFoundation\Request object to the '.__CLASS__.'::bind and '.__METHOD__.' methods is deprecated since Symfony 2.3 and will be removed in 3.0. Use the '.__CLASS__.'::handleRequest method instead. If you want to test whether the form was submitted separately, you can use the '.__CLASS__.'::isSubmitted method.', E_USER_DEPRECATED);
511511
}
512512

513513
if ($this->submitted) {

0 commit comments

Comments
 (0)