Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
NullLabelDescriptionLookup | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
getLabel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getDescription | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace Wikibase\Lexeme\DataAccess\Store; |
4 | |
5 | use Wikibase\DataModel\Entity\EntityId; |
6 | use Wikibase\DataModel\Services\Lookup\LabelDescriptionLookup; |
7 | |
8 | /** |
9 | * @license GPL-2.0-or-later |
10 | */ |
11 | class NullLabelDescriptionLookup implements LabelDescriptionLookup { |
12 | |
13 | /** @inheritDoc */ |
14 | public function getLabel( EntityId $entityId ) { |
15 | return null; |
16 | } |
17 | |
18 | /** @inheritDoc */ |
19 | public function getDescription( EntityId $entityId ) { |
20 | return null; |
21 | } |
22 | |
23 | } |