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 |
||
23 | protected function setupCreateOperation() |
||
24 | { |
||
25 | CRUD::field('upload') |
||
26 | ->type('upload') |
||
27 | ->fake(true) |
||
28 | ->withFiles(['disk' => 'uploaders', 'fileNamer' => fn ($value) => $value->getClientOriginalName()]); |
||
29 | CRUD::field('upload_multiple') |
||
30 | ->type('upload_multiple') |
||
31 | ->fake(true) |
||
32 | ->withFiles(['disk' => 'uploaders', 'fileNamer' => fn ($value) => $value->getClientOriginalName()]); |
||
33 | } |
||
45 |