Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
UploadedFileList
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 offsetGet
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 createRandom
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2namespace Apie\Core\Lists;
3
4use Psr\Http\Message\UploadedFileInterface;
5
6class UploadedFileList extends ItemList
7{
8    public function offsetGet(mixed $offset): UploadedFileInterface
9    {
10        return parent::offsetGet($offset);
11    }
12
13    public static function createRandom(): self
14    {
15        return new UploadedFileList([]);
16    }
17}