X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/5152c542b97a46c5c25a627748cacb46a43844f4..e83f85c13afccface76993878f36f581b055a2fb:/Form/ContactType.php

diff --git a/Form/ContactType.php b/Form/ContactType.php
index 8e5946e..adee525 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'])]])
@@ -33,7 +33,7 @@ class ContactType extends CaptchaType {
 	/**
 	 * {@inheritdoc}
 	 */
-	public function configureOptions(OptionsResolver $resolver) {
+	public function configureOptions(OptionsResolver $resolver): void {
 		//Set defaults
 		$resolver->setDefaults(['error_bubbling' => true]);
 	}
@@ -41,7 +41,7 @@ class ContactType extends CaptchaType {
 	/**
 	 * {@inheritdoc}
 	 */
-	public function getName() {
+	public function getName(): string {
 		return 'contact_form';
 	}
 }