|
@@ -1,6 +1,7 @@
|
|
|
<?php
|
|
|
|
|
|
use Faker\Generator as Faker;
|
|
|
+use Illuminate\Support\Str;
|
|
|
|
|
|
/*
|
|
|
|--------------------------------------------------------------------------
|
|
@@ -19,6 +20,6 @@ $factory->define(App\User::class, function (Faker $faker) {
|
|
|
'email' => $faker->unique()->safeEmail,
|
|
|
'email_verified_at' => now(),
|
|
|
'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
|
|
|
- 'remember_token' => str_random(10),
|
|
|
+ 'remember_token' => Str::random(10),
|
|
|
];
|
|
|
});
|