Skip to content

Commit dab392b

Browse files
issamkhadiri1989javiereguiluz
authored andcommitted
[Form] Update choice_loader.rst.inc
1 parent f3d8337 commit dab392b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/options/choice_loader.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ better performance::
4242

4343
class ConstantsType extends AbstractType
4444
{
45-
public static function getExtendedTypes(): iterable
45+
public function getParent(): string
4646
{
47-
return [ChoiceType::class];
47+
return ChoiceType::class;
4848
}
4949

5050
public function configureOptions(OptionsResolver $resolver)

0 commit comments

Comments
 (0)