Skip to content

Commit bbf5204

Browse files
committed
fix: initialize tmp_name as empty string instead of null
1 parent 41dc0e3 commit bbf5204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flight/net/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ protected function parseRequestBodyForHttpMethods(): void
650650
'name' => $headers['content-disposition']['filename'],
651651
'type' => $headers['content-type'] ?? 'application/octet-stream',
652652
'size' => mb_strlen($value, '8bit'),
653-
'tmp_name' => null,
653+
'tmp_name' => '',
654654
'error' => UPLOAD_ERR_OK,
655655
];
656656

0 commit comments

Comments
 (0)