From 60cfa5ddd59785296f31e4efecb5c847eebafc02 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Mon, 1 Feb 2021 18:17:33 +0100 Subject: [PATCH] Replace deprecated extends Controller by AbstractController --- Controller/ReportController.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Controller/ReportController.php b/Controller/ReportController.php index fe0cb9767..3cebec016 100644 --- a/Controller/ReportController.php +++ b/Controller/ReportController.php @@ -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