| 1 | <?php |
||
| 9 | class UserFactory extends Factory |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The name of the factory's corresponding model. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $model = User::class; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Define the model's default state. |
||
| 20 | * |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | public function definition() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Indicate that the model's email address should be unverified. |
||
| 36 | * |
||
| 37 | * @return \Illuminate\Database\Eloquent\Factories\Factory |
||
| 38 | */ |
||
| 39 | public function unverified() |
||
| 47 | } |
||
| 48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.