فهرست منبع

Merge remote branch 'jmikola/patch-1'

* jmikola/patch-1:
  [Form] Refer to FormView explicitly in its own getParent() type-hint
Fabien Potencier 14 سال پیش
والد
کامیت
23235d8513
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;
     }