Loading core/lib/Drupal/Core/Routing/UrlMatcher.php +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ public function finalMatch(RouteCollection $collection, Request $request) { /** * {@inheritdoc} */ protected function getAttributes(Route $route, $name, array $attributes) { protected function getAttributes(Route $route, $name, array $attributes): array { if ($route instanceof RouteObjectInterface && is_string($route->getRouteKey())) { $name = $route->getRouteKey(); } Loading Loading
core/lib/Drupal/Core/Routing/UrlMatcher.php +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ public function finalMatch(RouteCollection $collection, Request $request) { /** * {@inheritdoc} */ protected function getAttributes(Route $route, $name, array $attributes) { protected function getAttributes(Route $route, $name, array $attributes): array { if ($route instanceof RouteObjectInterface && is_string($route->getRouteKey())) { $name = $route->getRouteKey(); } Loading