Skip to content

Commit

Permalink
Update ControllerListener.php for SF5.4
Browse files Browse the repository at this point in the history
SF 5.4 Event Compatiblity
  • Loading branch information
adamwojtkiewicz authored Sep 27, 2023
1 parent 21d9864 commit 8b0c1ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doctrine/ORM/EventListener/ControllerListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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;
Expand Down

0 comments on commit 8b0c1ed

Please sign in to comment.