minor #22445 [Form] rename getTypedExtensions() to getTypeExtensions() (xabbuh)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[Form] rename getTypedExtensions() to getTypeExtensions()

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/21780#discussion_r111664409
| License       | MIT
| Doc PR        |

Commits
-------

099f626e4d rename getTypedExtensions() to getTypeExtensions()
This commit is contained in:
Fabien Potencier 2017-04-18 08:29:00 -06:00
commit b72c11fd05

View File

@ -29,7 +29,7 @@ abstract class FormIntegrationTestCase extends TestCase
{
$this->factory = Forms::createFormFactoryBuilder()
->addExtensions($this->getExtensions())
->addTypeExtensions($this->getTypedExtensions())
->addTypeExtensions($this->getTypeExtensions())
->addTypes($this->getTypes())
->addTypeGuessers($this->getTypeGuessers())
->getFormFactory();
@ -40,7 +40,7 @@ abstract class FormIntegrationTestCase extends TestCase
return array();
}
protected function getTypedExtensions()
protected function getTypeExtensions()
{
return array();
}