Issue #3232888 by daffie: [Symfony 6] Add "array" type hint to the method Drupal\Core\Routing\UrlMatcher::getAttributes()