Skip to content

Commit

Permalink
fix(496): Deprecation warning on Symfony 6.4 & 7
Browse files Browse the repository at this point in the history
  • Loading branch information
saifulferoz committed Nov 5, 2024
1 parent d99b299 commit 01b8e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/LocaleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function onKernelRequest(RequestEvent $event): void
/**
* @return array<string, string>
*/
public static function getSubscribedEvents()
public static function getSubscribedEvents(): array
{
return array(
KernelEvents::REQUEST => 'onKernelRequest',
Expand Down

0 comments on commit 01b8e5d

Please sign in to comment.