-<?php
+<?php declare(strict_types=1);
+
+/*
+ * This file is part of the Rapsys AirBundle package.
+ *
+ * (c) Raphaël Gertz <symfony@rapsys.eu>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
namespace Rapsys\AirBundle\Form;
use Symfony\Component\Validator\Constraints\Email;
use Symfony\Component\Validator\Constraints\NotBlank;
+/**
+ * {@inheritdoc}
+ */
class ContactType extends CaptchaType {
/**
* {@inheritdoc}
/**
* {@inheritdoc}
*/
- public function configureOptions(OptionsResolver $resolver) {
+ public function configureOptions(OptionsResolver $resolver): void {
//Set defaults
$resolver->setDefaults(['error_bubbling' => true]);
}
/**
* {@inheritdoc}
*/
- public function getName() {
+ public function getName(): string {
return 'contact_form';
}
}