By znerol on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.x
Introduced in version:
11.4.0
Issue links:
Description:
The Symfony TypeInfo component has been added as a composer dependency. The Drupal ArgumentsResolver utility class now relies on TypeInfo to match arguments against method parameter type hints.
With this change, union and intersection types are supported in method signatures where ArgumentsResolver is used (access checks and rest resources).
Impacts:
Module developers