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

@@ -19,7 +19,7 @@
*/
namespace Chill\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Chill\MainBundle\Entity\PostalCode;
@@ -28,11 +28,12 @@ use Chill\MainBundle\Templating\TranslatableStringHelper;
use Doctrine\ORM\Query;
/**
*
* Class PostalCodeController
*
* @package Chill\MainBundle\Controller
* @author Julien Fastré <julien.fastre@champs-libres.coop>
*/
class PostalCodeController extends Controller
class PostalCodeController extends AbstractController
{
/**
*