Skip to content

Commit dd82fab

Browse files
committed
Update README.md
1 parent 5090dd2 commit dd82fab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ $factory->define(App\User::class, function (Faker\Generator $faker) {
3636
'username' => $faker->userName,
3737
'email' => $faker->safeEmail,
3838
'password' => bcrypt($faker->password),
39-
'company_id' => factory(App\Company::class)->create()->id,
39+
'company_id' => function () {
40+
return factory(App\Company::class)->create()->id;
41+
},
4042
'remember_token' => Str::random(10),
4143
];
4244
});

0 commit comments

Comments
 (0)