]> Raphaël G. Git Repositories - airbundle/blobdiff - Form/RegisterType.php
Add skip on weather unavailable data when startup timeout makes us miss upstream...
[airbundle] / Form / RegisterType.php
index 56e0addba2b20a8f1bd6c700c1faa1f051be5c6c..b41944acff58415c3c363b15ac8268dcb37367e3 100644 (file)
@@ -1,4 +1,13 @@
-<?php
+<?php declare(strict_types=1);
+
+/*
+ * This file is part of the Rapsys PackBundle 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;
 
 
 namespace Rapsys\AirBundle\Form;
 
@@ -12,7 +21,7 @@ class RegisterType extends \Rapsys\UserBundle\Form\RegisterType {
        /**
         * {@inheritdoc}
         */
        /**
         * {@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);
 
                //Call parent build form
                $form = parent::buildForm($builder, $options);
 
@@ -28,7 +37,7 @@ class RegisterType extends \Rapsys\UserBundle\Form\RegisterType {
        /**
         * {@inheritdoc}
         */
        /**
         * {@inheritdoc}
         */
-       public function configureOptions(OptionsResolver $resolver) {
+       public function configureOptions(OptionsResolver $resolver): void {
                //Call parent configure options
                parent::configureOptions($resolver);
 
                //Call parent configure options
                parent::configureOptions($resolver);
 
@@ -43,7 +52,7 @@ class RegisterType extends \Rapsys\UserBundle\Form\RegisterType {
        /**
         * {@inheritdoc}
         */
        /**
         * {@inheritdoc}
         */
-       public function getName() {
+       public function getName(): string {
                return 'rapsys_air_register';
        }
 }
                return 'rapsys_air_register';
        }
 }