Fixed some return type deprecation messages

This commit is contained in:
Jan Böhmer 2023-04-15 19:33:39 +02:00
parent 558440168d
commit 1cee1abe00
37 changed files with 70 additions and 70 deletions

View file

@ -8,7 +8,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
class ProjectBOMEntryCollectionType extends AbstractType
{
public function getParent()
public function getParent(): string
{
return CollectionType::class;
}
@ -28,7 +28,7 @@ class ProjectBOMEntryCollectionType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'project_bom_entry_collection';
}

View file

@ -93,7 +93,7 @@ class ProjectBOMEntryType extends AbstractType
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'project_bom_entry';
}