Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\InputRequest $request->getFiles() doesn't return FileCollection instance #586

Closed
nowackipawel opened this issue Jul 5, 2017 · 2 comments

Comments

@nowackipawel
Copy link
Contributor

Screen from documentation:
screenshot-bcit-ci github io 2017-07-05 11-25-31
Result:
screenshot-adm --- rpi 2017-07-05 11-25-14

@nowackipawel
Copy link
Contributor Author

There is also no "hasFile()" method which is mentioned in the same part of docs.
https://bcit-ci.github.io/CodeIgniter4/libraries/incomingrequest.html#id15

@lonnieezell
Copy link
Member

Whoops! You're correct. It uses a FileCollection internally, but then returns an array. Will fix it up shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants