Problem/Motivation
getActiveMultiple() and getCanonicalMultiple() methods in EntityRepositoryInterface both returns arrays of EntityInterface but the returning type hinting miss the [] at the end.
Proposed resolution
Add [] after @return \Drupal\Core\Entity\EntityInterface on lines 117 and 163.
Release notes snippet
Fix return value type hinting for getActiveMultiple() and getCanonicalMultiple() in EntityRepositoryInterface.
| Comment | File | Size | Author |
|---|---|---|---|
| entity-repository-interface-doc.patch | 1.12 KB | jmsosso |
Comments
Comment #2
jmsosso commentedComment #3
spokjeChanged version to
9.3.xsince changes land there and will be backported where "The Elders" (=Core committers) see fit.Reviewed patch, changes in Type Hinting made sense to me => RTBC
Comment #4
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!