Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Mar 2022 at 22:12 UTC
Updated:
15 May 2023 at 08:14 UTC
Jump to comment: Most recent
Comments
Comment #2
dieterholvoet commentedHow about
@return static? Makes sense, since 'The returned translation has to be of the same type than this typed data object.'. This would improve the results of static analysis and completions in editors like PhpStorm.Comment #4
dieterholvoet commentedComment #5
smustgrave commentedDon't see any use with using static. The description below should be more then enough to all explain what is returned.
Comment #7
catchCommitted/pushed to 10.1.x, thanks!