Skip to content

\IncomingRequest method getFiles() - Should really return only arrays? #590

Description

@nowackipawel

if yes im wondering if can return empty array if there is no elements inside $_FILES instead of null
screenshot-adm  rpi 2017-07-06 19-01-15

I'd like to propose for line 492:
return is_array($this->files->all())?$this->files->all():[];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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