Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
base system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Sep 2021 at 08:01 UTC
Updated:
2 Oct 2021 at 01:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
daffie commentedThe fix.
Comment #3
daffie commentedI could not find any instances were contrib is extending the class Drupal\Core\TypedData\Validation\ExecutionContext. The adding of the return type hints does not change anything as the methods already only returning what the added type hints are demanding. See: http://grep.xnddx.ru/search?text=ExecutionContext&filename=.
Part of the Symfony 6 in D10 initiative.
Comment #4
longwaveThe patch adds the typehints as per the deprecation.
Comment #6
larowlanCommitted 2eb9e5f and pushed to 9.3.x. Thanks!