Improve typing on user factory

This commit is contained in:
Choraimy Kroonstuiver 2022-02-09 21:24:35 +01:00
parent 5901059eba
commit 6479a60e95
No known key found for this signature in database
GPG Key ID: 220061E6BED4C4E4

View File

@ -13,7 +13,7 @@ class UserFactory extends Factory
/** /**
* Define the model's default state. * Define the model's default state.
* *
* @return array * @return array<string, mixed>
*/ */
public function definition() public function definition()
{ {
@ -29,7 +29,7 @@ class UserFactory extends Factory
/** /**
* Indicate that the model's email address should be unverified. * Indicate that the model's email address should be unverified.
* *
* @return \Illuminate\Database\Eloquent\Factories\Factory * @return static
*/ */
public function unverified() public function unverified()
{ {