Problem/Motivation
Method "Symfony\Component\Routing\Matcher\RequestMatcherInterface::matchRequest()" will return "array" as of its next major version. Doing the same in implementation "Drupal\Core\Routing\AccessAwareRouterInterface" will be required when upgrading.
Method "Symfony\Component\Routing\Matcher\RequestMatcherInterface::matchRequest()" will return "array" as of its next major version. Doing the same in implementation "Drupal\Core\Routing\Router" will be required when upgrading.
Method "Symfony\Component\Routing\Matcher\RequestMatcherInterface::matchRequest()" will return "array" as of its next major version. Doing the same in implementation "Drupal\Core\Routing\AccessAwareRouter" 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 | 3233045-2.patch | 1.83 KB | daffie |
Comments
Comment #2
daffie commentedThe fix.
Comment #3
longwaveChecked contrib and nothing seems to extend these, so this one is good to go if bot agrees.
Comment #5
larowlanCommitted 1151e3b and pushed to 9.3.x. Thanks!
Crediting @longwave for doing the contrib research