Skip to content

Commit d99b299

Browse files
authored
Merge pull request #489 from gscioni-axelerant/main
feat: handling sf deprecation suppression
2 parents 473ae65 + 3890e28 commit d99b299

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

src/EventListener/BlameListener.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
66
use Symfony\Component\HttpKernel\Event\RequestEvent;
7-
use Symfony\Component\HttpKernel\HttpKernelInterface;
87
use Symfony\Component\HttpKernel\KernelEvents;
98
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
109
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
@@ -48,6 +47,9 @@ public function onKernelRequest(RequestEvent $event): void
4847
}
4948
}
5049

50+
/**
51+
* @return array<string, string>
52+
*/
5153
public static function getSubscribedEvents()
5254
{
5355
return array(

src/EventListener/IpTraceListener.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public function onKernelRequest(RequestEvent $event): void
3333
}
3434
}
3535

36+
/**
37+
* @return array<string, array<int, int|string>>
38+
*/
3639
public static function getSubscribedEvents(): array
3740
{
3841
return array(

src/EventListener/LocaleListener.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ public function onKernelRequest(RequestEvent $event): void
2929
$this->translatableListener->setTranslatableLocale($event->getRequest()->getLocale());
3030
}
3131

32+
/**
33+
* @return array<string, string>
34+
*/
3235
public static function getSubscribedEvents()
3336
{
3437
return array(

src/EventListener/LoggerListener.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public function onKernelRequest(RequestEvent $event): void
5555
}
5656
}
5757

58+
/**
59+
* @return array<string, string>
60+
*/
5861
public static function getSubscribedEvents()
5962
{
6063
return array(

0 commit comments

Comments
 (0)