From fa9da42c22a93b8b9d9e000022640f6bcc0ca075 Mon Sep 17 00:00:00 2001 From: Sergio Santoro Date: Sat, 6 Jun 2015 18:12:30 +0200 Subject: [PATCH] [Form] Fix call to removed method (BC broken in 2.3) ResolvedFormType#getTypeExtensions() was calling method AbstractType#getExtensions() which has been removed in commit b3081e85a062abb8fc8a22f20a2b3289db2ff501 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - --- src/Symfony/Component/Form/ResolvedFormType.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Symfony/Component/Form/ResolvedFormType.php b/src/Symfony/Component/Form/ResolvedFormType.php index b922e32561..218d0d999f 100644 --- a/src/Symfony/Component/Form/ResolvedFormType.php +++ b/src/Symfony/Component/Form/ResolvedFormType.php @@ -93,11 +93,6 @@ class ResolvedFormType implements ResolvedFormTypeInterface */ public function getTypeExtensions() { - // BC - if ($this->innerType instanceof AbstractType) { - return $this->innerType->getExtensions(); - } - return $this->typeExtensions; }