Skip to content

Commit 3fd5ebb

Browse files
committed
Applied fixes from StyleCI (#48)
1 parent 5a8bc86 commit 3fd5ebb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

EventListener/AlertifyListener.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@
1111

1212
namespace Troopers\AlertifyBundle\EventListener;
1313

14+
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1415
use Symfony\Component\HttpFoundation\Request;
1516
use Symfony\Component\HttpFoundation\Response;
16-
use Symfony\Component\HttpFoundation\Session\Flash\AutoExpireFlashBag;
1717
use Symfony\Component\HttpFoundation\Session\Session;
1818
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
1919
use Symfony\Component\HttpKernel\KernelEvents;
20-
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
21-
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
2220
use Troopers\AlertifyBundle\Handler\AlertifySessionHandler;
2321

2422
/**
@@ -72,7 +70,7 @@ protected function injectAlertify(Response $response, Request $request)
7270
public static function getSubscribedEvents()
7371
{
7472
return [
75-
KernelEvents::RESPONSE => array('onKernelResponse'),
73+
KernelEvents::RESPONSE => ['onKernelResponse'],
7674
];
7775
}
7876
}

0 commit comments

Comments
 (0)