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

Fixes incorrect types reported by parse_url #2918

Merged
merged 1 commit into from
May 30, 2024

Conversation

ChrisBrenton
Copy link
Contributor

Fixes parse_url return type when $component is -1 returning more types than were valid. Adds missing types when $component is not a constant value.

Fixes: phpstan/phpstan#4754

@ondrejmirtes ondrejmirtes changed the base branch from 1.10.x to 1.11.x May 30, 2024 13:10
…s than were valid. Adds missing types when $component is not a constant value.
@ondrejmirtes ondrejmirtes merged commit 1ebcae0 into phpstan:1.11.x May 30, 2024
5 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants