Commit 6dc228e
authored
Add
* createRevision returns an object instance of the same type passed to entity, but not the same object reference
I cannot add stubs for RevisionableStorageInterface and TranslatableRevisionableStorageInterface in my own projects because phpstan-drupal prevents it!
* `TranslatableRevisionableStorageInterface::createRevision` has a different signature and may require it
* typing
* another typeRevisionableStorageInterface::createRevision generic for return type (#894)1 parent 42cca54 commit 6dc228e
File tree
2 files changed
+14
-0
lines changed- stubs/Drupal/Core/Entity
2 files changed
+14
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
0 commit comments