Skip to content

Wrong return type for Phalcon\Http\Request::getUploadedFiles #98

Open
@rayanlevert

Description

@rayanlevert

Hello !

PHPDoc of Phalcon\Http\Request::getUploadedFiles says the method returns array|\Phalcon\Http\Request\FileInterface[] which is confusing because its either an array of unknown values or an array of FileInterface.

The method returns only FileInterface objects, so it should @return \Phalcon\Http\Request\FileInterface[] :)

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