Skip to content

Commit a541f6d

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: quote all dumped unicode spaces Switched from parent type hard-coded FQCN to `::class` keyword.
2 parents abdbee3 + 019fa72 commit a541f6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Form/Type/DoctrineType.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Symfony\Component\Form\ChoiceList\ChoiceList;
2424
use Symfony\Component\Form\ChoiceList\Factory\CachingFactoryDecorator;
2525
use Symfony\Component\Form\Exception\RuntimeException;
26+
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
2627
use Symfony\Component\Form\FormBuilderInterface;
2728
use Symfony\Component\OptionsResolver\Options;
2829
use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -239,7 +240,7 @@ abstract public function getLoader(ObjectManager $manager, $queryBuilder, string
239240

240241
public function getParent()
241242
{
242-
return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType';
243+
return ChoiceType::class;
243244
}
244245

245246
public function reset()

0 commit comments

Comments
 (0)