We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 6 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | trait HandleFileNaming |
||
9 | { |
||
10 | public ?string $fileName = null; |
||
11 | |||
12 | public FileNameGeneratorInterface $fileNameGenerator; |
||
13 | |||
14 | public function getFileName(string|UploadedFile $file): string |
||
21 | } |
||
22 | |||
23 | private function getFileNameGeneratorInstance(?string $fileNameGenerator): FileNameGeneratorInterface |
||
38 |