diff --git a/src/Form/Type/CustomUrlType.php b/src/Form/Type/CustomUrlType.php index 0e44f5e5..3e2ed05a 100644 --- a/src/Form/Type/CustomUrlType.php +++ b/src/Form/Type/CustomUrlType.php @@ -30,7 +30,7 @@ class CustomUrlType extends TranslatorAwareType /** * {@inheritdoc} */ - public function buildForm(FormBuilderInterface $builder, array $options) + public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('title', TextType::class, [ diff --git a/src/Form/Type/LinkBlockType.php b/src/Form/Type/LinkBlockType.php index 6b40ef30..9adf9cd3 100644 --- a/src/Form/Type/LinkBlockType.php +++ b/src/Form/Type/LinkBlockType.php @@ -104,7 +104,7 @@ public function __construct( /** * {@inheritdoc} */ - public function buildForm(FormBuilderInterface $builder, array $options) + public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('id_link_block', HiddenType::class) @@ -197,7 +197,7 @@ public function buildForm(FormBuilderInterface $builder, array $options) /** * {@inheritdoc} */ - public function configureOptions(OptionsResolver $resolver) + public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([ 'label' => false, diff --git a/src/Form/Type/TranslateCustomUrlType.php b/src/Form/Type/TranslateCustomUrlType.php index d7fe163c..94bfb27c 100644 --- a/src/Form/Type/TranslateCustomUrlType.php +++ b/src/Form/Type/TranslateCustomUrlType.php @@ -31,7 +31,7 @@ class TranslateCustomUrlType extends TranslatableType /** * {@inheritdoc} */ - public function buildForm(FormBuilderInterface $builder, array $options) + public function buildForm(FormBuilderInterface $builder, array $options): void { foreach ($options['locales'] as $locale) { $localeOptions = $options['options'];