From f6b5969a21df4fdaae5a5432a3f2127cdfc5de2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 31 Jan 2024 22:54:21 +0100 Subject: [PATCH] Strict types --- Form/ContactType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form/ContactType.php b/Form/ContactType.php index 8e5946e..bb0ee77 100644 --- a/Form/ContactType.php +++ b/Form/ContactType.php @@ -17,7 +17,7 @@ class ContactType extends CaptchaType { /** * {@inheritdoc} */ - public function buildForm(FormBuilderInterface $builder, array $options) { + public function buildForm(FormBuilderInterface $builder, array $options): void { //Add fields $builder ->add('name', TextType::class, ['attr' => ['placeholder' => 'Your name'], 'constraints' => [new NotBlank(['message' => 'Please provide your name'])]]) -- 2.41.1