| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class CouponFactory extends Factory |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The name of the factory's corresponding model. |
||
| 17 | * |
||
| 18 | * @var class-string<Coupon> |
||
|
|
|||
| 19 | */ |
||
| 20 | protected $model = Coupon::class; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Define the model's default state. |
||
| 24 | * |
||
| 25 | * @return array<string, mixed> |
||
| 26 | */ |
||
| 27 | 60 | public function definition(): array |
|
| 34 |