Replace deprecated extends Controller by AbstractController

This commit is contained in:
2021-02-01 18:17:33 +01:00
parent 99e2712cbc
commit 8029b9b8ff
6 changed files with 23 additions and 20 deletions

View File

@@ -29,6 +29,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Csv;
use PhpOffice\PhpSpreadsheet\Writer\Ods;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\HttpFoundation\StreamedResponse;
use Chill\EventBundle\Security\Authorization\EventVoter;
@@ -37,7 +38,6 @@ use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Privacy\PrivacyEvent;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Chill\PersonBundle\Form\Type\PickPersonType;
use Chill\EventBundle\Entity\Event;
use Chill\EventBundle\Form\EventType;
@@ -53,10 +53,11 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
/**
* Event controller.
* Class EventController
*
* @package Chill\EventBundle\Controller
*/
class EventController extends Controller
class EventController extends AbstractController
{
/**
* @var EventDispatcherInterface