check for file param order
Merge pull request #4567 from antograssiot/#4563

3.0 - Check for `$file` array order in `uploadedFile()`