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
CachedEntityIds
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
3declare( strict_types = 1 );
4
5namespace WikibaseQuality\ConstraintReport\ConstraintCheck\Cache;
6
7/**
8 * A list of entity IDs, along with information whether and how they were cached.
9 *
10 * (Note that an unknown amount of errors may have been discarded,
11 * in case it was not possible to parse an entity ID from the SPARQL response.)
12 *
13 * @license GPL-2.0-or-later
14 */
15class CachedEntityIds extends CachedArray {
16
17    /**
18     * @return array List of EntityId objects. Can contain one or more null values to mark spots
19     *  that should have been EntityIds too, but could not due to errors.
20     */
21    public function getArray(): array {
22        return parent::getArray();
23    }
24
25}