Replace string helper

This commit is contained in:
Dries Vints
2019-02-12 16:53:32 +01:00
parent 75468420a4
commit fae44eeb26

View File

@@ -1,6 +1,7 @@
<?php
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
/*
@@ -20,6 +21,6 @@ $factory->define(User::class, function (Faker $faker) {
'email' => $faker->unique()->safeEmail,
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => str_random(10),
'remember_token' => Str::random(10),
];
});