From: Raphaël Gertz Date: Thu, 12 Aug 2021 15:13:15 +0000 (+0200) Subject: Strict types X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/c0264e60a1a1770c823033e133f7c2f215ce136d Strict types --- diff --git a/Form/RegisterType.php b/Form/RegisterType.php index 56e0add..b41944a 100644 --- a/Form/RegisterType.php +++ b/Form/RegisterType.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; @@ -12,7 +21,7 @@ class RegisterType extends \Rapsys\UserBundle\Form\RegisterType { /** * {@inheritdoc} */ - public function buildForm(FormBuilderInterface $builder, array $options) { + public function buildForm(FormBuilderInterface $builder, array $options): FormBuilderInterface { //Call parent build form $form = parent::buildForm($builder, $options); @@ -28,7 +37,7 @@ class RegisterType extends \Rapsys\UserBundle\Form\RegisterType { /** * {@inheritdoc} */ - public function configureOptions(OptionsResolver $resolver) { + public function configureOptions(OptionsResolver $resolver): void { //Call parent configure options parent::configureOptions($resolver); @@ -43,7 +52,7 @@ class RegisterType extends \Rapsys\UserBundle\Form\RegisterType { /** * {@inheritdoc} */ - public function getName() { + public function getName(): string { return 'rapsys_air_register'; } }