Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Method "Symfony\Component\Routing\Matcher\UrlMatcher::getAttributes()" will return "array" as of its next major version. Doing the same in child class "Drupal\Core\Routing\UrlMatcher" will be required when upgrading.
Steps to reproduce
Proposed resolution
Add the "array" return type hint.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3232888-2.patch | 662 bytes | daffie |
Comments
Comment #2
daffie CreditAttribution: daffie commentedI could not find any instances in contrib where the method was overridden. See: http://grep.xnddx.ru/search?text=%5CUrlMatcher&filename=
Comment #3
longwaveThis one looks trivial.
Comment #4
larowlanCommitted d2e9155 and pushed to 9.3.x. Thanks!