Commit d10e121
committed
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.inc1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments