Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
DownloadFile | n/a |
0 / 0 |
n/a |
0 / 0 |
2 | n/a |
0 / 0 |
|||
__construct | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
download | n/a |
0 / 0 |
n/a |
0 / 0 |
1 |
1 | <?php |
2 | namespace Apie\Common\Other; |
3 | |
4 | use Apie\Core\ValueObjects\UrlRouteDefinition; |
5 | use Psr\Http\Message\UploadedFileInterface; |
6 | |
7 | /** |
8 | * This class is only for OpenAPI specs |
9 | * @codeCoverageIgnore |
10 | */ |
11 | class DownloadFile |
12 | { |
13 | public function __construct(public string $id) |
14 | { |
15 | } |
16 | |
17 | public function download(UrlRouteDefinition $properties): UploadedFileInterface |
18 | { |
19 | throw new \LogicException('fake method for getInputType'); |
20 | } |
21 | } |