Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function definition(): array |
||
24 | { |
||
25 | return [ |
||
26 | 'type' => $this->faker->randomElement(['home', 'work', 'business']), |
||
27 | 'address_1' => $this->faker->streetAddress, |
||
28 | 'address_2' => $this->faker->secondaryAddress, |
||
29 | 'city' => $this->faker->city, |
||
30 | 'state' => $this->faker->state, |
||
31 | 'zip' => $this->faker->postcode, |
||
32 | 'addressable_id' => People::factory(), |
||
33 | 'addressable_type' => People::class, |
||
34 | ]; |
||
37 |