mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Improve typing on user factory
This commit is contained in:
parent
5901059eba
commit
6479a60e95
@ -13,7 +13,7 @@ class UserFactory extends Factory
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
@ -29,7 +29,7 @@ class UserFactory extends Factory
|
||||
/**
|
||||
* Indicate that the model's email address should be unverified.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Factories\Factory
|
||||
* @return static
|
||||
*/
|
||||
public function unverified()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user