| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ExportStoredFileFactory extends Factory |
||
| 9 | { |
||
| 10 | protected $model = ExportStoredFile::class; |
||
| 11 | |||
| 12 | public function definition() |
||
| 13 | { |
||
| 14 | return [ |
||
| 15 | 'type' => 'default', |
||
| 16 | 'disk' => $this->faker->word(), |
||
| 17 | 'path' => $this->faker->word(), |
||
| 18 | 'name' => $this->faker->word(), |
||
| 19 | 'meta' => [], |
||
| 20 | ]; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function type(string $type): static |
||
| 27 | ]); |
||
| 28 | } |
||
| 30 |