소스 검색

Update FormProxy:add declaration

marc 12 년 전
부모
커밋
2cd05771a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Form/EventListener/FormProxy.php

+ 1 - 1
Form/EventListener/FormProxy.php

@@ -63,7 +63,7 @@ class FormProxy implements \IteratorAggregate, FormInterface
         return $this->__call('hasParent', func_get_args());
     }
 
-    public function add(FormInterface $child)
+    public function add($child, $type = null, array $options = array())
     {
         return $this->__call('add', func_get_args());
     }