Skip to content

Commit

Permalink
Add return type to OpenPgpDeleteType
Browse files Browse the repository at this point in the history
  • Loading branch information
t2d committed Dec 21, 2024
1 parent 093a192 commit f1a1e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Form/OpenPgpDeleteType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class OpenPgpDeleteType extends AbstractType
{
public const NAME = 'delete_openpgp';

public function buildForm(FormBuilderInterface $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
$builder
->add('password', PasswordType::class, ['label' => 'form.delete-password'])
Expand All @@ -22,15 +22,15 @@ public function buildForm(FormBuilderInterface $builder, array $options)
/**
* {@inheritdoc}
*/
public function configureOptions(OptionsResolver $resolver)
public function configureOptions(OptionsResolver $resolver) : void
{
$resolver->setDefaults(['data_class' => 'App\Form\Model\Delete']);
}

/**
* @return string
*/
public function getBlockPrefix()
public function getBlockPrefix() : string
{
return self::NAME;
}
Expand Down

0 comments on commit f1a1e00

Please sign in to comment.