Skip to content

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

@stetodd

Description

@stetodd

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>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions