Wrong return type for Phalcon\Http\Request::getUploadedFiles
Opened this issue · 0 comments
rayanlevert commented
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[]
:)