mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 02:05:16 +02:00
Fixed some deprecations related to missing return types
This commit is contained in:
parent
eb24aa2e68
commit
294f7cf005
11 changed files with 20 additions and 21 deletions
|
@ -35,7 +35,7 @@ use Symfony\Component\Validator\Constraints\NotNull;
|
|||
|
||||
class ProjectAddPartsType extends AbstractType
|
||||
{
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
||||
{
|
||||
$builder->add('project', StructuralEntityType::class, [
|
||||
'class' => Project::class,
|
||||
|
@ -73,7 +73,7 @@ class ProjectAddPartsType extends AbstractType
|
|||
});
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
public function configureOptions(OptionsResolver $resolver): void
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
'project' => null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue