]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Form/ContactType.php
Remove disputed form
[airbundle] / Form / ContactType.php
index 8e5946e8138ef99de557c13f66894df33466b860..bb0ee77053a1c3a36cb495da326d78f6306e4f6f 100644 (file)
@@ -17,7 +17,7 @@ class ContactType extends CaptchaType {
        /**
         * {@inheritdoc}
         */
        /**
         * {@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'])]])
                //Add fields
                $builder
                        ->add('name', TextType::class, ['attr' => ['placeholder' => 'Your name'], 'constraints' => [new NotBlank(['message' => 'Please provide your name'])]])