Unverified Commit d2e91550 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3232888 by daffie: [Symfony 6] Add "array" type hint to the method...

Issue #3232888 by daffie: [Symfony 6] Add "array" type hint to the method Drupal\Core\Routing\UrlMatcher::getAttributes()
parent 1151e3b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
    }