@@ -171,6 +171,9 @@ |
||
171 | 171 | return $revisionAndRedirectResolver; |
172 | 172 | } |
173 | 173 | |
174 | + /** |
|
175 | + * @return string |
|
176 | + */ |
|
174 | 177 | private function buildTestCacheKey( |
175 | 178 | string $itemId, |
176 | 179 | string $termType, |
@@ -171,6 +171,9 @@ |
||
171 | 171 | return $revisionAndRedirectResolver; |
172 | 172 | } |
173 | 173 | |
174 | + /** |
|
175 | + * @return string |
|
176 | + */ |
|
174 | 177 | private function buildTestCacheKey( |
175 | 178 | string $itemId, |
176 | 179 | string $termType, |
@@ -154,6 +154,9 @@ discard block |
||
154 | 154 | ); |
155 | 155 | } |
156 | 156 | |
157 | + /** |
|
158 | + * @return \Wikibase\Lib\Store\EntityRevisionLookup |
|
159 | + */ |
|
157 | 160 | public function getEntityRevisionLookup() { |
158 | 161 | if ( $this->entityRevisionLookup === null ) { |
159 | 162 | if ( !WikibaseSettings::isRepoEnabled() ) { |
@@ -347,6 +350,9 @@ discard block |
||
347 | 350 | return $this->termSearchInteractorFactory; |
348 | 351 | } |
349 | 352 | |
353 | + /** |
|
354 | + * @return \Wikibase\Lib\Store\MatchingTermsLookup |
|
355 | + */ |
|
350 | 356 | private function getTermIndex() { |
351 | 357 | if ( $this->termIndex === null ) { |
352 | 358 | $repositoryName = ''; |
@@ -369,6 +375,9 @@ discard block |
||
369 | 375 | return $this->termIndex; |
370 | 376 | } |
371 | 377 | |
378 | + /** |
|
379 | + * @return PrefetchingTermLookup |
|
380 | + */ |
|
372 | 381 | public function getPrefetchingTermLookup() { |
373 | 382 | global $wgSecretKey; |
374 | 383 |