Problem/Motivation
Proposed resolution
Methods like EntityTypeInterface::set() should use @return $this instead of @return static to support better static type checking/autocompletion support
Remaining tasks
User interface changes
API changes
Original report by @username
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupal8-EntityInterface-2391295-1.patch | 2.13 KB | pushpinderchauhan |
Comments
Comment #1
dawehnerComment #2
pushpinderchauhan commentedtrying first.
Comment #3
dawehnerLove it!!
Comment #4
jhodgdonVery nice, thanks! @return static was incorrect indeed.
This is an allowed Beta change (API docs bug fix). Committed to 8.0.x.