Commit 9a6c3df7 authored by Taylor Otwell's avatar Taylor Otwell

Use define syntax.

parent e11d40ab
......@@ -11,11 +11,11 @@
|
*/
$factory['App\User'] = function ($faker) {
$factory->define('App\User', function ($faker) {
return [
'name' => $faker->name,
'email' => $faker->email,
'password' => str_random(10),
'remember_token' => str_random(10),
];
};
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment