Explorar o código

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

Bernhard Schussek %!s(int64=14) %!d(string=hai) anos
pai
achega
acaa9c9058
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Component/Form/Form.php

+ 1 - 1
src/Symfony/Component/Form/Form.php

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