From c0264e60a1a1770c823033e133f7c2f215ce136d 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] 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.0