From 82981290d4c3893e23e8eb958b2bff38789f6199 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Aug 2023 19:34:08 +0100 Subject: [PATCH] Use int not string if no DB_PORT specified Signed-off-by: snipe --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 36440b2127..bb62cf0d3a 100755 --- a/config/database.php +++ b/config/database.php @@ -69,7 +69,7 @@ return [ 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost'), - 'port' => env('DB_PORT', '3306'), + 'port' => env('DB_PORT', 3306), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''),