Explorar o código

Update FormProxy:add declaration

marc %!s(int64=12) %!d(string=hai) anos
pai
achega
2cd05771a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());
     }