From 482ab71a0645608ec3f2e1d05b4b2dc436d9a9ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 12 Aug 2021 17:13:15 +0200 Subject: [PATCH 1/1] Strict types --- Form/RegisterType.php | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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'; } } -- 2.41.1