Skip to content

Commit 0750c83

Browse files
authored
Update RedirectToPreferredLocaleSubscriber.php
It needs to be an array for this eventListener to be triggered
1 parent 850536c commit 0750c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(
5454
public static function getSubscribedEvents(): array
5555
{
5656
return [
57-
KernelEvents::REQUEST => 'onKernelRequest',
57+
KernelEvents::REQUEST => ['onKernelRequest', 100],
5858
];
5959
}
6060

0 commit comments

Comments
 (0)