Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

getFiles() docblock error #114

Open
robjchan opened this issue Feb 5, 2021 · 0 comments
Open

getFiles() docblock error #114

robjchan opened this issue Feb 5, 2021 · 0 comments
Labels
legacy Related to legacy, non-OpenAPI SDK

Comments

@robjchan
Copy link

robjchan commented Feb 5, 2021

The docblock for getFiles() is documented as returning a string

@return string

however if a link is requested it returns an instance of FileResponse().

This causes PHP Intelephense to display : Expected type 'object'. Found 'string'.

I suspect the docblock should be

@return mixed

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Mar 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

No branches or pull requests

2 participants