X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/5152c542b97a46c5c25a627748cacb46a43844f4..a930f18cade72c3bb31800c09d2126d7f7770a04:/Form/ContactType.php 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'])]])