mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Added return types to ExponentialNumberTypes for futureproofing the implementation
This commit is contained in:
parent
164efb0551
commit
a9f444cbb4
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class ExponentialNumberType extends AbstractType
|
|||
return NumberType::class;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
public function configureOptions(OptionsResolver $resolver): void
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
//We want to allow the full precision of the number, so disable rounding
|
||||
|
@ -47,7 +47,7 @@ class ExponentialNumberType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
||||
{
|
||||
$builder->resetViewTransformers();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue