Merge pull request #5806 from axlon/patch-1

[9.x] Improve typing on user factory
This commit is contained in:
Nuno Maduro
2022-02-09 20:34:02 +00:00
committed by GitHub

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()
{ {