File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,12 @@ class ProxyConnector implements ConnectorInterface
57
57
* @param array $httpHeaders Custom HTTP headers to be sent to the proxy.
58
58
* @throws InvalidArgumentException if the proxy URL is invalid
59
59
*/
60
- public function __construct ($ proxyUrl , ConnectorInterface $ connector = null , array $ httpHeaders = array ())
61
- {
60
<
6509
span class="diff-text-marker">+ public function __construct (
61
+ #[\SensitiveParameter]
62
+ $ proxyUrl ,
63
+ ConnectorInterface $ connector = null ,
64
+ array $ httpHeaders = array ()
65
+ ) {
62
66
// support `http+unix://` scheme for Unix domain socket (UDS) paths
63
67
if (preg_match ('/^http\+unix:\/\/(.*?@)?(.+?)$/ ' , $ proxyUrl , $ match )) {
64
68
// rewrite URI to parse authentication from dummy host
You can’t perform that action at this time.
0 commit comments