From 1e83206e1d097b1dbd64d115e7615f61fa4f38f6 Mon Sep 17 00:00:00 2001 From: Bart van den Burg Date: Tue, 12 Jun 2012 15:06:41 +0200 Subject: [PATCH] [Form] FormBuilderInterface->getParent() doesn't take any arguments (anymore) --- src/Symfony/Component/Form/FormFactory.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Symfony/Component/Form/FormFactory.php b/src/Symfony/Component/Form/FormFactory.php index fc199f4e17..5537b32192 100644 --- a/src/Symfony/Component/Form/FormFactory.php +++ b/src/Symfony/Component/Form/FormFactory.php @@ -172,11 +172,7 @@ class FormFactory implements FormFactoryInterface array_unshift($types, $type); - // getParent() cannot see default options set by this type nor - // default options set by parent types - // As a result, the options always have to be checked for - // existence with isset() before using them in this method. - $type = $type->getParent($options); + $type = $type->getParent(); } // Top-down determination of the default options