Replace deprecated extends Controller by AbstractController

This commit is contained in:
Mathieu Jaumotte 2021-02-01 18:17:33 +01:00
parent 750c3315d7
commit 60cfa5ddd5

View File

@ -24,9 +24,9 @@ namespace Chill\ReportBundle\Controller;
use Chill\MainBundle\Pagination\PaginatorFactory;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Chill\PersonBundle\Privacy\PrivacyEvent;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Form\Extension\Core\Type\FormType;
@ -36,10 +36,11 @@ use Chill\ReportBundle\Form\ReportType;
/**
* Report controller.
* Class ReportController
*
* @package Chill\ReportBundle\Controller
*/
class ReportController extends Controller
class ReportController extends AbstractController
{
/**
* @var EventDispatcherInterface