aa945d355f
| Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Improved exception message if custom implementation of ```OptionsResolverInterface``` is used within ```AbstractType::setDefaultOptions()``` or ```AbstractTypeExtension::setDefaultOptions()```. Before: ``` Argument 1 passed to Symfony\Component\Form\AbstractType::configureOptions() must be an instance of Symfony\Component\OptionsResolver\OptionsResolver, instance of Symfony\Component\Form\Tests\Fixtures\CustomOptionsResolver given ``` After: ``` Argument 1 passed to Symfony\Component\Form\AbstractType::setDefaultOptions() must be an instance of Symfony\Component\OptionsResolver\OptionsResolver, instance of Symfony\Component\Form\Tests\Fixtures\CustomOptionsResolver given ``` |
||
---|---|---|
.. | ||
AbstractAuthor.php | ||
AlternatingRowType.php | ||
Author.php | ||
AuthorInterface.php | ||
AuthorType.php | ||
CustomArrayObject.php | ||
CustomOptionsResolver.php | ||
FixedDataTransformer.php | ||
FixedFilterListener.php | ||
foo | ||
foo2 | ||
foo3 | ||
FooSubType.php | ||
FooSubTypeWithParentInstance.php | ||
FooType.php | ||
FooTypeBarExtension.php | ||
FooTypeBazExtension.php | ||
TestExtension.php |