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

Actualize the "@return" types for the "Api" class methods #241

Open
aik099 opened this issue Jan 25, 2025 · 0 comments
Open

Actualize the "@return" types for the "Api" class methods #241

aik099 opened this issue Jan 25, 2025 · 0 comments
Milestone

Comments

@aik099
Copy link
Member

aik099 commented Jan 25, 2025

Currently most of Api class methods have either Result|false or array|false return type specified.

I doubt that false is ever returned (e.g. for HTTP 2xx responses), and it's more likely that an exception would be thrown by the ClientInterface implementing class instead.

Need to check that fact for each Api class method and update their @return annotation accordingly.

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

1 participant