Use Str class instead of helper function

This commit is contained in:
Jordan Hall 2019-04-04 22:18:28 +01:00 committed by GitHub
parent c8bc79e94e
commit e68ff0c66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
<?php
use Illuminate\Support\Str;
return [
/*
@ -117,7 +119,7 @@
'options' => [
'cluster' => env('REDIS_CLUSTER', 'predis'),
'prefix' => str_slug(env('APP_NAME', 'laravel'), '_').'_database',
'prefix' => Str::slug(env('APP_NAME', 'laravel'), '_').'_database',
],
'default' => [