You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #16500 [Form] Update choice_loader.rst.inc (issamkhadiri1989)
This PR was submitted for the 6.0 branch but it was squashed and merged into the 5.4 branch instead.
Discussion
----------
[Form] Update choice_loader.rst.inc
Hello,
I think it is better to extend the class `ConstantsType` from the `Form\AbstractTypeExtension` instead. As we're using the function `getExtendedTypes` i think it might be better. This method is available in the `AbstractTypeExtension` class and not in the `AbstractType` class. I might be wrong but here we're about to create a type extension from the ChoiceType.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
dab392b [Form] Update choice_loader.rst.inc
0 commit comments