From: Raphaƫl Gertz Date: Wed, 31 Jan 2024 21:54:21 +0000 (+0100) Subject: Strict types X-Git-Tag: 0.3.0~147 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/f6b5969a21df4fdaae5a5432a3f2127cdfc5de2a?hp=99ad4ba3b9f655cd8df1baa13c00d75460590ca9 Strict types --- 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'])]])