]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Form/RegisterType.php
Use getObject event args member function instead of deprecated getEntity
[airbundle] / Form / RegisterType.php
index 0bb7f8ef23c78b2736036585c14d36bd24c03f0f..e79a7dc8416658e18ea0e0fd65334e45ce021735 100644 (file)
@@ -14,8 +14,8 @@ namespace Rapsys\AirBundle\Form;
 use Doctrine\ORM\EntityManagerInterface;
 
 use Symfony\Bridge\Doctrine\Form\Type\EntityType;
 use Doctrine\ORM\EntityManagerInterface;
 
 use Symfony\Bridge\Doctrine\Form\Type\EntityType;
-use Symfony\Component\Form\Extension\Core\Type\TelType;
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
+use Symfony\Component\Form\Extension\Core\Type\TelType;
 use Symfony\Component\Form\Extension\Core\Type\TextType;
 use Symfony\Component\Form\FormBuilderInterface;
 use Symfony\Component\OptionsResolver\OptionsResolver;
 use Symfony\Component\Form\Extension\Core\Type\TextType;
 use Symfony\Component\Form\FormBuilderInterface;
 use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -187,6 +187,6 @@ class RegisterType extends BaseRegisterType {
         * {@inheritdoc}
         */
        public function getName(): string {
         * {@inheritdoc}
         */
        public function getName(): string {
-               return 'rapsys_air_register';
+               return 'rapsysair_register';
        }
 }
        }
 }