From 01b8e5de6777ac45012898c2f7669a73d4527543 Mon Sep 17 00:00:00 2001 From: saifulislamferoz Date: Tue, 5 Nov 2024 16:32:29 +0600 Subject: [PATCH] fix(496): Deprecation warning on Symfony 6.4 & 7 --- src/EventListener/LocaleListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventListener/LocaleListener.php b/src/EventListener/LocaleListener.php index 6d323526..ae72beb0 100644 --- a/src/EventListener/LocaleListener.php +++ b/src/EventListener/LocaleListener.php @@ -32,7 +32,7 @@ public function onKernelRequest(RequestEvent $event): void /** * @return array */ - public static function getSubscribedEvents() + public static function getSubscribedEvents(): array { return array( KernelEvents::REQUEST => 'onKernelRequest',