Skip to content

Commit

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

public function buildForm(FormBuilderInterface $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
$builder
->add('alias', TextType::class, ['label' => 'form.new-custom-alias'])
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\AliasCreate']);
}

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

0 comments on commit 709dc4b

Please sign in to comment.