minor #14896 [Form] Fix call to removed method (BC broken in 2.3) (taueres)

This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Fix call to removed method (BC broken in 2.3)

ResolvedFormType#getTypeExtensions() was calling method
AbstractType#getExtensions() which has been removed in
commit b3081e85a0

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

fa9da42 [Form] Fix call to removed method (BC broken in 2.3)
This commit is contained in:
Fabien Potencier 2015-06-06 20:32:18 +02:00
commit a39dafaae3

View File

@ -93,11 +93,6 @@ class ResolvedFormType implements ResolvedFormTypeInterface
*/
public function getTypeExtensions()
{
// BC
if ($this->innerType instanceof AbstractType) {
return $this->innerType->getExtensions();
}
return $this->typeExtensions;
}