1616use Symfony \Component \Routing \RouterInterface ;
1717use Symfony \Component \PropertyAccess \PropertyAccess ;
1818
19- /**
20- *
21- * Class Select2EntityType
22- * @package Tetranz\Select2EntityBundle\Form\Type
23- */
2419class Select2EntityType extends AbstractType
2520{
26- /** @var ManagerRegistry */
27- protected $ registry ;
28- /** @var ObjectManager */
29- protected $ em ;
30- /** @var RouterInterface */
31- protected $ router ;
32- /** @var array */
33- protected $ config ;
21+ protected ManagerRegistry $ registry ;
22+ protected ObjectManager $ em ;
23+ protected RouterInterface $ router ;
24+ protected array $ config ;
3425
3526 /**
3627 * @param ManagerRegistry $registry
@@ -163,7 +154,7 @@ public function configureOptions(OptionsResolver $resolver): void
163154 'text_property ' => null ,
164155 'placeholder ' => false ,
165156 'language ' => $ this ->config ['language ' ],
166- 'theme ' => $ this ->config ['theme ' ],
157+ 'theme ' => $ this ->config ['theme ' ],
167158 'required ' => false ,
168159 'cache ' => $ this ->config ['cache ' ],
169160 'cache_timeout ' => $ this ->config ['cache_timeout ' ],
@@ -183,7 +174,7 @@ public function configureOptions(OptionsResolver $resolver): void
183174 /**
184175 * @return string
185176 */
186- public function getBlockPrefix ()
177+ public function getBlockPrefix (): string
187178 {
188179 return 'tetranz_select2entity ' ;
189180 }
0 commit comments