Skip to content

Commit

Permalink
Issue KEY-TEC#9: Drupal 10 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo-Morales-Alberti committed Oct 10, 2023
1 parent 8b81330 commit ffcf2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routing/AllowedLanguagesRouteSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function alterRoutes(RouteCollection $collection) {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
// Should run after ContentTranslationRouteSubscriber. Therefore priority -230.
$events[RoutingEvents::ALTER] = ['onAlterRoutes', -230];
return $events;
Expand Down

0 comments on commit ffcf2ee

Please sign in to comment.