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,8 +2,8 @@
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\Center;
@@ -11,10 +11,11 @@ use Chill\MainBundle\Form\CenterType;
/**
* Center controller.
* Class CenterController
*
* @package Chill\MainBundle\Controller
*/
class CenterController extends Controller
class CenterController extends AbstractController
{
/**