Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
MediaWikiLexemeRedirector
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 assertEntityIsRedirectable
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace Wikibase\Lexeme\DataAccess\Store;
4
5use Wikibase\DataModel\Entity\EntityDocument;
6use Wikibase\Repo\Interactors\EntityRedirectCreationInteractor;
7
8/**
9 * @license GPL-2.0-or-later
10 */
11class MediaWikiLexemeRedirector extends EntityRedirectCreationInteractor {
12
13    protected function assertEntityIsRedirectable( EntityDocument $entity ) {
14        // as of now, all kinds of lexemes can be redirected
15    }
16
17}