This update to WpParseUrlFunctionDynamicReturnTypeExtension from PHPStan's extension for parse_url fixes an incorrect return type when the $component parameter is a non-constant integer. Additionally, the extension is now more specific about the port type.
This update to
WpParseUrlFunctionDynamicReturnTypeExtension
from PHPStan's extension forparse_url
fixes an incorrect return type when the$component
parameter is a non-constant integer. Additionally, the extension is now more specific about the port type.