Преглед на файлове

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