]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Form/ContactType.php
Shorten air bundle route aliases
[airbundle] / Form / ContactType.php
index bb0ee77053a1c3a36cb495da326d78f6306e4f6f..adee52527b474972db00daf6d5f52d4bbffb6d9e 100644 (file)
@@ -33,7 +33,7 @@ class ContactType extends CaptchaType {
        /**
         * {@inheritdoc}
         */
        /**
         * {@inheritdoc}
         */
-       public function configureOptions(OptionsResolver $resolver) {
+       public function configureOptions(OptionsResolver $resolver): void {
                //Set defaults
                $resolver->setDefaults(['error_bubbling' => true]);
        }
                //Set defaults
                $resolver->setDefaults(['error_bubbling' => true]);
        }
@@ -41,7 +41,7 @@ class ContactType extends CaptchaType {
        /**
         * {@inheritdoc}
         */
        /**
         * {@inheritdoc}
         */
-       public function getName() {
+       public function getName(): string {
                return 'contact_form';
        }
 }
                return 'contact_form';
        }
 }