File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
reference/forms/types/options Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ better performance::
34
34
35
35
use App\Form\ChoiceList\CustomChoiceLoader;
36
36
use App\StaticClass;
37
- use Symfony\Component\Form\AbstractTypeExtension ;
37
+ use Symfony\Component\Form\AbstractType ;
38
38
use Symfony\Component\Form\ChoiceList\ChoiceList;
39
39
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
40
40
use Symfony\Component\OptionsResolver\Options;
41
41
use Symfony\Component\OptionsResolver\OptionsResolver;
42
42
43
- class ConstantsType extends AbstractTypeExtension
43
+ class ConstantsType extends AbstractType
44
44
{
45
- public static function getExtendedTypes (): iterable
45
+ public function getParent (): string
46
46
{
47
- return [ ChoiceType::class] ;
47
+ return ChoiceType::class;
48
48
}
49
49
50
50
public function configureOptions(OptionsResolver $resolver)
You can’t perform that action at this time.
0 commit comments