We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 2 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | trait HasUploadedFiles |
||
8 | { |
||
9 | protected function getUploadedFile(string $fileName, string $mime = 'image/jpg') |
||
10 | { |
||
11 | return new UploadedFile(__DIR__.'/assets/'.$fileName, $fileName, $mime, null, true); |
||
12 | } |
||
13 | |||
14 | protected function getUploadedFiles(array $fileNames, string $mime = 'image/jpg') |
||
19 | } |
||
20 | } |