Преглед изворни кода

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());
     }