Skip to content

Commit 6479a60

Browse files
committed
Improve typing on user factory
1 parent 5901059 commit 6479a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/factories/UserFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class UserFactory extends Factory
1313
/**
1414
* Define the model's default state.
1515
*
16-
* @return array
16+
* @return array<string, mixed>
1717
*/
1818
public function definition()
1919
{
@@ -29,7 +29,7 @@ public function definition()
2929
/**
3030
* Indicate that the model's email address should be unverified.
3131
*
32-
* @return \Illuminate\Database\Eloquent\Factories\Factory
32+
* @return static
3333
*/
3434
public function unverified()
3535
{

0 commit comments

Comments
 (0)