Browse Source

Replace string helper

Dries Vints 6 years ago
parent
commit
fae44eeb26
1 changed files with 2 additions and 1 deletions
  1. 2 1
      database/factories/UserFactory.php

+ 2 - 1
database/factories/UserFactory.php

@@ -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),
     ];
 });