Replace deprecated extends Controller by AbstractController

This commit is contained in:
2021-02-01 18:17:33 +01:00
parent ea0ac6dc66
commit d840deb5e2
13 changed files with 66 additions and 39 deletions

View File

@@ -2,10 +2,9 @@
namespace Chill\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Chill\MainBundle\Entity\User;
use Chill\MainBundle\Form\UserType;
use Chill\MainBundle\Entity\GroupCenter;
@@ -14,10 +13,11 @@ use Chill\MainBundle\Form\UserPasswordType;
/**
* User controller.
* Class UserController
*
* @package Chill\MainBundle\Controller
*/
class UserController extends Controller
class UserController extends AbstractController
{
const FORM_GROUP_CENTER_COMPOSED = 'composed_groupcenter';