Pārlūkot izejas kodu

Revert "Update FormProxy:add declaration"

This reverts commit 2cd05771a36030dff3d88506fb20b3fb8cb40f18.
Thomas Rabaix 12 gadi atpakaļ
vecāks
revīzija
29cae4cc88
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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());
         return $this->__call('hasParent', func_get_args());
     }
     }
 
 
-    public function add($child, $type = null, array $options = array())
+    public function add(FormInterface $child)
     {
     {
         return $this->__call('add', func_get_args());
         return $this->__call('add', func_get_args());
     }
     }