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

ignore phpstan when phpstan claims that something is a resource, fixes #448, fixes #479, fixes #411 #533

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

shish
Copy link
Collaborator

@shish shish commented Jan 30, 2025

phpstan's internal type-hint database claims various things are resources, when the PHP documentation gives more accurate type hints - so let's prefer the PHP docs in that specific case

@shish
Copy link
Collaborator Author

shish commented Jan 30, 2025

For reviewers - the meaningful change is in generator/src/Parameter.php

@shish shish merged commit 434c148 into master Jan 31, 2025
12 checks passed
@shish shish deleted the pr533 branch January 31, 2025 05:45
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

Successfully merging this pull request may close these issues.

2 participants