mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 01:55:01 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -34,7 +34,7 @@ final class ReportType extends AbstractType
|
||||
private readonly ObjectManager $om,
|
||||
) {}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
||||
{
|
||||
$builder
|
||||
->add('user')
|
||||
@@ -67,7 +67,7 @@ final class ReportType extends AbstractType
|
||||
);
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
public function configureOptions(OptionsResolver $resolver): void
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
'data_class' => \Chill\ReportBundle\Entity\Report::class,
|
||||
@@ -85,7 +85,7 @@ final class ReportType extends AbstractType
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'chill_reportbundle_report';
|
||||
}
|
||||
|
Reference in New Issue
Block a user