| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 28 | 3 | public function createUploadedFile( |
|
| 29 | StreamInterface $stream, |
||
| 30 | ?int $size = null, |
||
| 31 | int $error = UPLOAD_ERR_OK, |
||
| 32 | ?string $clientFilename = null, |
||
| 33 | ?string $clientMediaType = null |
||
| 34 | ): UploadedFileInterface { |
||
| 35 | 3 | return new UploadedFile( |
|
| 36 | 3 | $stream, |
|
| 37 | 3 | $size, |
|
| 38 | 3 | $error, |
|
| 39 | 3 | $clientFilename, |
|
| 40 | 3 | $clientMediaType |
|
| 41 | 3 | ); |
|
| 44 |