소스 검색

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

Bernhard Schussek 14 년 전
부모
커밋
acaa9c9058
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }