From bbf5204da675491e6ad5a3f117add405342d1469 Mon Sep 17 00:00:00 2001 From: KnifeLemon Date: Fri, 17 Oct 2025 11:16:52 +0900 Subject: [PATCH] fix: initialize tmp_name as empty string instead of null --- flight/net/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/net/Request.php b/flight/net/Request.php index 134a83d..4dd81e7 100644 --- a/flight/net/Request.php +++ b/flight/net/Request.php @@ -650,7 +650,7 @@ class Request 'name' => $headers['content-disposition']['filename'], 'type' => $headers['content-type'] ?? 'application/octet-stream', 'size' => mb_strlen($value, '8bit'), - 'tmp_name' => null, + 'tmp_name' => '', 'error' => UPLOAD_ERR_OK, ];