[Form] Fixed signature of Form::addError()
This commit is contained in:
parent
6c9ff0a2a3
commit
acaa9c9058
@ -410,7 +410,7 @@ class Form implements \IteratorAggregate, FormInterface
|
||||
*
|
||||
* @see FormInterface
|
||||
*/
|
||||
public function addError(Error $error, PropertyPathIterator $pathIterator = null)
|
||||
public function addError(Error $error)
|
||||
{
|
||||
$this->errors[] = $error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user