浏览代码

Merge pull request #1085 from cram1010/master

Update FormProxy:add declaration
Thomas 12 年之前
父节点
当前提交
9fd393fd7a
共有 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());
     }