Browse Source

use str class

Taylor Otwell 1 year ago
parent
commit
361a6b71da
1 changed files with 3 additions and 1 deletions
  1. 3 1
      config/session.php

+ 3 - 1
config/session.php

@@ -1,5 +1,7 @@
 <?php
 
+use Illuminate\Support\Str;
+
 return [
 
     /*
@@ -124,7 +126,7 @@ return [
 
     'cookie' => env(
         'SESSION_COOKIE',
-        str_slug(env('APP_NAME', 'laravel'), '_').'_session'
+        Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
     ),
 
     /*