[Form] Fixed signature of Form::addError()

This commit is contained in:
Bernhard Schussek 2011-03-20 15:23:36 +01:00
parent 6c9ff0a2a3
commit acaa9c9058

View File

@ -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;
}