From a696e5fd5169c99ea191adb1aeb746de797abe32 Mon Sep 17 00:00:00 2001 From: Ahmed Alaa <92916738+AhmedAlaa4611@users.noreply.github.com> Date: Mon, 8 Sep 2025 01:58:17 +0300 Subject: [PATCH] Fix type casting for environment variables in config files (#6670) --- config/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/session.php b/config/session.php index f715097f..bc45901e 100644 --- a/config/session.php +++ b/config/session.php @@ -129,7 +129,7 @@ return [ 'cookie' => env( 'SESSION_COOKIE', - Str::slug(env('APP_NAME', 'laravel')).'-session' + Str::slug((string) env('APP_NAME', 'laravel')).'-session' ), /*