phpstan-src
phpstan-src copied to clipboard
Fixes incorrect types reported by parse_url
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: https://github.com/phpstan/phpstan/issues/4754