Skip to content

Commit d2b55f9

Browse files
committed
Removed undefined variable.
1 parent cd92804 commit d2b55f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function request(string $method, string $url, array $options = []): Respo
201201
];
202202

203203
$proxy = self::getProxy($options['proxy'], $url);
204-
$noProxy = $noProxy ?? $_SERVER['no_proxy'] ?? $_SERVER['NO_PROXY'] ?? '';
204+
$noProxy = $_SERVER['no_proxy'] ?? $_SERVER['NO_PROXY'] ?? '';
205205
$noProxy = $noProxy ? preg_split('/[\s,]+/', $noProxy) : [];
206206

207207
$resolveRedirect = self::createRedirectResolver($options, $host, $proxy, $noProxy, $info, $onProgress);

0 commit comments

Comments
 (0)