From 8b0c1edfb477ee799fb1df744d8fcf27bc638038 Mon Sep 17 00:00:00 2001 From: adamwojtkiewicz Date: Wed, 27 Sep 2023 08:11:11 +0200 Subject: [PATCH] Update ControllerListener.php for SF5.4 SF 5.4 Event Compatiblity --- Doctrine/ORM/EventListener/ControllerListener.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doctrine/ORM/EventListener/ControllerListener.php b/Doctrine/ORM/EventListener/ControllerListener.php index bac8d15..cdfbeab 100644 --- a/Doctrine/ORM/EventListener/ControllerListener.php +++ b/Doctrine/ORM/EventListener/ControllerListener.php @@ -3,7 +3,7 @@ namespace A2lix\I18nDoctrineBundle\Doctrine\ORM\EventListener; use A2lix\I18nDoctrineBundle\EventListener\ControllerListener as BaseControllerListener, - Symfony\Component\HttpKernel\Event\FilterControllerEvent, + Symfony\Component\HttpKernel\Event\ControllerEvent, Doctrine\Common\Util\ClassUtils; /** @@ -15,10 +15,10 @@ class ControllerListener extends BaseControllerListener { /** * - * @param \Symfony\Component\HttpKernel\Event\FilterControllerEvent $event + * @param \Symfony\Component\HttpKernel\Event\ControllerEvent $event * @return type */ - public function onKernelController(FilterControllerEvent $event) + public function onKernelController(ControllerEvent $event) { $controller = $event->getController(); list($object, $method) = $controller;