[12.x] Fix type casting for environment variables in config files (#6637)

* Update app.php

* Update cache.php

* Update database.php

* Update logging.php

* Update mail.php
This commit is contained in:
Ahmed Alaa
2025-07-03 08:32:07 -05:00
committed by GitHub
parent dd473eaddc
commit 4ab121576e
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ return [
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel')).'-database-'),
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'),
'persistent' => env('REDIS_PERSISTENT', false),
],