Commit 87b3997
committed
Declare generic EntityStore as parameter type
Store::getEntityStore() (which is where
ImportEntities::newEntityImporter() gets the entity store from) has
never promised to return more than a generic EntityStore, and with
Wikibase commit 91a07a3901 (change I84661212a6), it has started to
return a TypeDispatchingEntityStore instead of a WikiPageEntityStore. As
far as I can tell, we don’t need anything specific to
WikiPageEntityStore, so adjusting the parameter type should be enough to
fix this problem.1 parent dde40a5 commit 87b3997
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments