browser icon indicating copy to clipboard operation
browser copied to clipboard

HttpOptions::withFiles(array $files) array shape is incorrect

Open stetodd opened this issue 5 months ago • 1 comments

The array shape for the $files argument to HttpOptions::withFiles(array $files) is defined as array<string, string>, but it should be array<string, UploadedFile>.

There is an existing issue (#97) suggesting strings should be allowed too, in which case it would become array<string, string|UploadedFile>.

stetodd avatar Sep 10 '24 22:09 stetodd