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 | public function getLabel( EntityId $entityId ) { |
14 | return null; |
15 | } |
16 | |
17 | public function getDescription( EntityId $entityId ) { |
18 | return null; |
19 | } |
20 | |
21 | } |