Skip to content

Commit

Permalink
Backwards compatibility for Symfony 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Oct 12, 2020
1 parent 581ab17 commit 725f31a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EventListener/CsrfListener.php
Expand Up @@ -11,7 +11,7 @@
namespace Aimeos\ShopBundle\EventListener;

use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\HttpKernel\Event\KernelEvent;
use Symfony\Component\DependencyInjection\Container;


Expand Down Expand Up @@ -40,9 +40,9 @@ public function __construct( Container $container )
/**
* Handles the kernel request
*
* @param RequestEvent $event Request event object
* @param KernelEvent $event Request event object
*/
public function onKernelRequest( RequestEvent $event )
public function onKernelRequest( KernelEvent $event )
{
$request = $event->getRequest();

Expand Down

0 comments on commit 725f31a

Please sign in to comment.