We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | protected function setupCreateOperation() |
||
| 24 | { |
||
| 25 | CRUD::setValidation(UploaderRequest::class); |
||
| 26 | |||
| 27 | CRUD::field('upload') |
||
| 28 | ->type('upload') |
||
| 29 | ->withFiles(['disk' => 'uploaders', 'fileNamer' => fn ($value) => $value->getClientOriginalName()]); |
||
| 30 | CRUD::field('upload_multiple') |
||
| 31 | ->type('upload_multiple') |
||
| 32 | ->withFiles(['disk' => 'uploaders', 'fileNamer' => fn ($value) => $value->getClientOriginalName()]); |
||
| 33 | } |
||
| 45 |