From 5c37c2a8c77fd7e9b6d9ad3f407ca0ee794fb9d6 Mon Sep 17 00:00:00 2001 From: Tobias van Beek Date: Wed, 4 Sep 2019 18:15:18 +0200 Subject: [PATCH] Use Str::random and not str_random --- src/Console/MigrateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/MigrateCommand.php b/src/Console/MigrateCommand.php index 630d70c9..e341778a 100644 --- a/src/Console/MigrateCommand.php +++ b/src/Console/MigrateCommand.php @@ -47,7 +47,7 @@ public function handle() 'slug' => 'regina-phalange', 'bio' => 'This is me.', 'email' => 'admin@mail.com', - 'password' => Hash::make($password = str_random()), + 'password' => Hash::make($password = Str::random()), ]); $this->line('');