-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add return types to Database class "pselect*" functions #4284
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
They shouldn't return false, they should all be either |
The Stale label is being removed automatically because some activity has occurred or because the developers have decided that this pull request is important and should not continue to be overlooked. |
Agreed I think some of them have strange error handling though. This issue is somewhat addressed by #6039 because it makes the array formats more clear. When that is merged we can take a look at making the functions more consistent. |
I think for the most part they return |
It seems to have been addressed. |
#3878 did not add return types to
pselect*
functions because they can return array, null, and sometimes false (I believe). Wrapper functions in other classes and modules that callpselect
functions are unable to have return types for the same reason.It would be good to standardize and document the types that these functions can return and eventually to add appropriate return types.
The text was updated successfully, but these errors were encountered: