-
-
Notifications
You must be signed in to change notification settings - Fork 163
Functions which return objects sometimes marked as returning resources #546
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
Labels
bug
Something isn't working
Comments
Thank you for looking into this. The docblock of the |
shish
added a commit
that referenced
this issue
Feb 4, 2025
shish
added a commit
that referenced
this issue
Feb 4, 2025
shish
added a commit
that referenced
this issue
Feb 4, 2025
Unit tests should _generally_ have correct types - and I specifically want to add a test which covers a type-hinting problem, which will only be revealed by phpstan (#546)
shish
added a commit
that referenced
this issue
Feb 4, 2025
Unit tests should _generally_ have correct types - and I specifically want to add a test which covers a type-hinting problem, which will only be revealed by phpstan (#546)
shish
added a commit
that referenced
this issue
Feb 4, 2025
shish
added a commit
that referenced
this issue
Feb 4, 2025
shish
added a commit
that referenced
this issue
Feb 4, 2025
shish
added a commit
that referenced
this issue
Feb 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eg
imagecreate
is marked as returning aresource
when it actually returns aGdImage
- #533 fixed this for function parameters, but didn't fix it for function return typesThe text was updated successfully, but these errors were encountered: