Explorar o código

Merge remote branch 'jmikola/patch-1'

* jmikola/patch-1:
  [Form] Refer to FormView explicitly in its own getParent() type-hint
Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
23235d8513
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Component/Form/FormView.php

+ 1 - 1
src/Symfony/Component/Form/FormView.php

@@ -120,7 +120,7 @@ class FormView implements \ArrayAccess, \IteratorAggregate, \Countable
      *
      * @param FormView $parent The parent view
      */
-    public function setParent(self $parent = null)
+    public function setParent(FormView $parent = null)
     {
         $this->parent = $parent;
     }