From e68ff0c66aa1b3da2c9a14d86636d582fd73891e Mon Sep 17 00:00:00 2001 From: Jordan Hall Date: Thu, 4 Apr 2019 22:18:28 +0100 Subject: [PATCH] Use Str class instead of helper function --- config/database.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 7560c66b..1f96d0dd 100644 --- a/config/database.php +++ b/config/database.php @@ -1,5 +1,7 @@ [ 'cluster' => env('REDIS_CLUSTER', 'predis'), - 'prefix' => str_slug(env('APP_NAME', 'laravel'), '_').'_database', + 'prefix' => Str::slug(env('APP_NAME', 'laravel'), '_').'_database', ], 'default' => [