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
CachedCheckResults
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
 getArray
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace WikibaseQuality\ConstraintReport\ConstraintCheck\Cache;
4
5use WikibaseQuality\ConstraintReport\ConstraintCheck\Result\CheckResult;
6
7/**
8 * A list of constraint check results,
9 * along with information whether and how they were cached
10 * and which other information they depend on.
11 *
12 * Note that the list of check results may be filtered,
13 * and the metadata embedded in this object directly (see {@link getMetadata()})
14 * may be more than the merge of the metadata attached to the individual check results.
15 * In particular, it is possible for the list of check results to be empty
16 * without the metadata being blank.
17 *
18 * @license GPL-2.0-or-later
19 */
20class CachedCheckResults extends CachedArray {
21
22    /**
23     * @return CheckResult[] The check results.
24     */
25    public function getArray() {
26        return parent::getArray();
27    }
28
29}