fix missing service declaration + remove unused form method

This commit is contained in:
2022-10-10 17:37:45 +02:00
parent 631111b0c7
commit c41f9d8f5b
3 changed files with 6 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ class Select2LocationTypeType extends AbstractType
;
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'select2_location_type_type';
}

View File

@@ -17,8 +17,6 @@ use Chill\MainBundle\Templating\TranslatableStringHelper;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\OptionsResolver\OptionsResolver;
class Select2UserLocationType extends AbstractType
@@ -53,10 +51,6 @@ class Select2UserLocationType extends AbstractType
]);
}
public function buildView(FormView $view, FormInterface $form, array $options)
{
}
public function configureOptions(OptionsResolver $resolver)
{
$resolver
@@ -67,7 +61,7 @@ class Select2UserLocationType extends AbstractType
;
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'select2_user_location_type';
}