| Total Complexity | 5 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 16 | abstract class BaseListCollection extends BaseCollection | ||
| 17 | { | ||
| 18 | /** | ||
| 19 | * @param list<TValue> $items | ||
| 20 | */ | ||
| 21 | public function __construct(array $items = []) | ||
| 22 |     { | ||
| 23 | parent::__construct($items); | ||
| 24 | } | ||
| 25 | |||
| 26 | /** | ||
| 27 | * @return list<TValue> | ||
| 28 | */ | ||
| 29 | public function getItems(): array | ||
| 32 | } | ||
| 33 | |||
| 34 | /** | ||
| 35 | * @return list<array<TItemKey,TItemValue>> | ||
| 36 | */ | ||
| 37 | public function __toArray(): array | ||
| 38 |     { | ||
| 39 | return array_values(parent::__toArray()); | ||
| 40 | } | ||
| 41 | |||
| 42 | /** | ||
| 43 | * @return list<array<TItemKey,TItemValue>> | ||
| 44 | */ | ||
| 45 | public function toArray(): array | ||
| 46 |     { | ||
| 47 | return array_values(parent::toArray()); | ||
| 48 | } | ||
| 49 | |||
| 50 | /** | ||
| 51 | * @return list<array<TItemKey,TItemValue>> | ||
| 52 | */ | ||
| 53 | public function jsonSerialize(): array | ||
| 56 | } | ||
| 57 | } | ||
| 58 |