File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form ;
13
13
14
+ use Symfony \Component \Form \Extension \Core \Type \FormType ;
14
15
use Symfony \Component \Form \Util \StringUtil ;
15
16
use Symfony \Component \OptionsResolver \OptionsResolver ;
16
17
@@ -60,6 +61,6 @@ public function getBlockPrefix()
60
61
*/
61
62
public function getParent ()
62
63
{
63
- return ' Symfony\Component\Form\Extension\Core\Type\ FormType' ;
64
+ return FormType::class ;
64
65
}
65
66
}
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Form \Tests \Fixtures ;
13
13
14
14
use Symfony \Component \Form \AbstractType ;
15
+ use Symfony \Component \Form \Extension \Core \Type \ChoiceType ;
15
16
use Symfony \Component \OptionsResolver \OptionsResolver ;
16
17
17
18
/**
@@ -38,6 +39,6 @@ public function configureOptions(OptionsResolver $resolver)
38
39
*/
39
40
public function getParent (): ?string
40
41
{
41
- return ' Symfony\Component\Form\Extension\Core\Type\ ChoiceType' ;
42
+ return ChoiceType::class ;
42
43
}
43
44
}
You can’t perform that action at this time.
0 commit comments