Add a PHPStan ignore for a non-issue in 'UrlHelper::fetch()'.
This commit is contained in:
@@ -432,6 +432,7 @@ class UrlHelper {
|
||||
return false;
|
||||
}
|
||||
|
||||
// @phpstan-ignore argument.type (prior validation ensures the host value exists)
|
||||
self::$fetch_effective_ip_addr = gethostbyname(parse_url(self::$fetch_effective_url, PHP_URL_HOST));
|
||||
|
||||
if (!self::$fetch_effective_ip_addr || str_starts_with(self::$fetch_effective_ip_addr, '127.')) {
|
||||
|
||||
Reference in New Issue
Block a user