Created
July 22, 2023 17:40
-
-
Save ahebrank/d02928d3d98aca58db2c415e13f5c3ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Routing/RouteSubscriber.php b/src/Routing/RouteSubscriber.php | |
index e13d151..0cab523 100644 | |
--- a/src/Routing/RouteSubscriber.php | |
+++ b/src/Routing/RouteSubscriber.php | |
@@ -76,7 +76,7 @@ class RouteSubscriber extends RouteSubscriberBase { | |
/** | |
* {@inheritdoc} | |
*/ | |
- public static function getSubscribedEvents() { | |
+ public static function getSubscribedEvents(): array { | |
$events = parent::getSubscribedEvents(); | |
$events[RoutingEvents::ALTER] = ['onAlterRoutes', 100]; | |
return $events; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment