Skip to content

Commit 02516aa

Browse files
authored
Using Factories: replace times() with count() for consistency (laravel#6730)
1 parent d11f48b commit 02516aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seeding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ For example, let's create 50 users that each have one related post:
6969
public function run()
7070
{
7171
User::factory()
72-
->times(50)
72+
->count(50)
7373
->hasPosts(1)
7474
->create();
7575
}

0 commit comments

Comments
 (0)