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 | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | protected function setupCreateOperation() |
||
| 23 | { |
||
| 24 | CRUD::field('upload') |
||
| 25 | ->type('upload') |
||
| 26 | ->fake(true) |
||
| 27 | ->withFiles(['disk' => 'uploaders', 'fileNamer' => fn ($value) => $value->getClientOriginalName()]); |
||
| 28 | CRUD::field('upload_multiple') |
||
| 29 | ->type('upload_multiple') |
||
| 30 | ->fake(true) |
||
| 31 | ->withFiles(['disk' => 'uploaders', 'fileNamer' => fn ($value) => $value->getClientOriginalName()]); |
||
| 32 | } |
||
| 44 |