Removed undefined variable.
This commit is contained in:
parent
f587944e61
commit
69f0a0b3bf
@ -201,7 +201,7 @@ final class NativeHttpClient implements HttpClientInterface, LoggerAwareInterfac
|
|||||||
];
|
];
|
||||||
|
|
||||||
$proxy = self::getProxy($options['proxy'], $url);
|
$proxy = self::getProxy($options['proxy'], $url);
|
||||||
$noProxy = $noProxy ?? $_SERVER['no_proxy'] ?? $_SERVER['NO_PROXY'] ?? '';
|
$noProxy = $_SERVER['no_proxy'] ?? $_SERVER['NO_PROXY'] ?? '';
|
||||||
$noProxy = $noProxy ? preg_split('/[\s,]+/', $noProxy) : [];
|
$noProxy = $noProxy ? preg_split('/[\s,]+/', $noProxy) : [];
|
||||||
|
|
||||||
$resolveRedirect = self::createRedirectResolver($options, $host, $proxy, $noProxy, $info, $onProgress);
|
$resolveRedirect = self::createRedirectResolver($options, $host, $proxy, $noProxy, $info, $onProgress);
|
||||||
|
Reference in New Issue
Block a user