diff --git a/src/EventListener/BlameListener.php b/src/EventListener/BlameListener.php index 62bd2b53..3521ded2 100644 --- a/src/EventListener/BlameListener.php +++ b/src/EventListener/BlameListener.php @@ -48,7 +48,10 @@ public function onKernelRequest(RequestEvent $event): void } } - public static function getSubscribedEvents() + /** + * @return array + */ + public static function getSubscribedEvents(): array { return array( KernelEvents::REQUEST => 'onKernelRequest', diff --git a/src/EventListener/IpTraceListener.php b/src/EventListener/IpTraceListener.php index 857c1b41..dc41444e 100644 --- a/src/EventListener/IpTraceListener.php +++ b/src/EventListener/IpTraceListener.php @@ -33,6 +33,9 @@ public function onKernelRequest(RequestEvent $event): void } } + /** + * @return array> + */ public static function getSubscribedEvents(): array { return array( diff --git a/src/EventListener/LocaleListener.php b/src/EventListener/LocaleListener.php index 7d12bfb8..ae72beb0 100644 --- a/src/EventListener/LocaleListener.php +++ b/src/EventListener/LocaleListener.php @@ -29,7 +29,10 @@ public function onKernelRequest(RequestEvent $event): void $this->translatableListener->setTranslatableLocale($event->getRequest()->getLocale()); } - public static function getSubscribedEvents() + /** + * @return array + */ + public static function getSubscribedEvents(): array { return array( KernelEvents::REQUEST => 'onKernelRequest', diff --git a/src/EventListener/LoggerListener.php b/src/EventListener/LoggerListener.php index 72576cd5..66146698 100644 --- a/src/EventListener/LoggerListener.php +++ b/src/EventListener/LoggerListener.php @@ -55,7 +55,10 @@ public function onKernelRequest(RequestEvent $event): void } } - public static function getSubscribedEvents() + /** + * @return array + */ + public static function getSubscribedEvents(): array { return array( KernelEvents::REQUEST => 'onKernelRequest',