From 69f0a0b3bf439354b5f097c2f12e0de353341665 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 6 Apr 2019 20:38:25 +0200 Subject: [PATCH] Removed undefined variable. --- src/Symfony/Component/HttpClient/NativeHttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpClient/NativeHttpClient.php b/src/Symfony/Component/HttpClient/NativeHttpClient.php index 0549fccc49..a24c699654 100644 --- a/src/Symfony/Component/HttpClient/NativeHttpClient.php +++ b/src/Symfony/Component/HttpClient/NativeHttpClient.php @@ -201,7 +201,7 @@ final class NativeHttpClient implements HttpClientInterface, LoggerAwareInterfac ]; $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) : []; $resolveRedirect = self::createRedirectResolver($options, $host, $proxy, $noProxy, $info, $onProgress);