X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f6b5969a21df4fdaae5a5432a3f2127cdfc5de2a..8b42e55e661fe05af15b0cf13d3e2bdfc094fa1a:/Form/ContactType.php diff --git a/Form/ContactType.php b/Form/ContactType.php index bb0ee77..93951e9 100644 --- a/Form/ContactType.php +++ b/Form/ContactType.php @@ -1,4 +1,13 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Form; @@ -13,6 +22,9 @@ use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Validator\Constraints\Email; use Symfony\Component\Validator\Constraints\NotBlank; +/** + * {@inheritdoc} + */ class ContactType extends CaptchaType { /** * {@inheritdoc} @@ -33,7 +45,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 +53,7 @@ class ContactType extends CaptchaType { /** * {@inheritdoc} */ - public function getName() { + public function getName(): string { return 'contact_form'; } }