Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
CachedCheckConstraintsResponse | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
getArray | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | namespace WikibaseQuality\ConstraintReport\ConstraintCheck\Cache; |
4 | |
5 | /** |
6 | * A response of the CheckConstraints API action, |
7 | * along with information whether and how it was cached. |
8 | * |
9 | * @license GPL-2.0-or-later |
10 | */ |
11 | class CachedCheckConstraintsResponse extends CachedArray { |
12 | |
13 | /** |
14 | * @return array The API response. |
15 | * The format is based on the Wikibase JSON format; |
16 | * for details, see [[mw:Wikibase/API#wbcheckconstraints]]. |
17 | */ |
18 | public function getArray() { |
19 | return parent::getArray(); |
20 | } |
21 | |
22 | } |