We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c642b2 + 90cb5a2 commit 5e4de71Copy full SHA for 5e4de71
src/ProxyConnector.php
@@ -57,8 +57,12 @@ class ProxyConnector implements ConnectorInterface
57
* @param array $httpHeaders Custom HTTP headers to be sent to the proxy.
58
* @throws InvalidArgumentException if the proxy URL is invalid
59
*/
60
- public function __construct($proxyUrl, ConnectorInterface $connector = null, array $httpHeaders = array())
61
- {
+ public function __construct(
+ #[\SensitiveParameter]
62
+ $proxyUrl,
63
+ ConnectorInterface $connector = null,
64
+ array $httpHeaders = array()
65
+ ) {
66
// support `http+unix://` scheme for Unix domain socket (UDS) paths
67
if (preg_match('/^http\+unix:\/\/(.*?@)?(.+?)$/', $proxyUrl, $match)) {
68
// rewrite URI to parse authentication from dummy host
0 commit comments