Completed
Pull Request — master (#40)
by
unknown
01:42
created
src/Components/ClientConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
         $this->has_proxy = true;
191 191
         $this->proxy_ip = $ip;
192 192
         $this->proxy_port = $port;
193
-        $this->proxy_auth = ($username && $password) ? base64_encode($username.':'.$password) : null;
193
+        $this->proxy_auth = ($username && $password) ? base64_encode($username . ':' . $password) : null;
194 194
     }
195 195
 
196 196
     public function getProxy(&$ip, &$port, &$auth)
Please login to merge, or discard this patch.
src/Components/WscMain.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             $context
138 138
         );
139 139
 
140
-        $write =  "CONNECT $host HTTP/1.1\r\n";
140
+        $write = "CONNECT $host HTTP/1.1\r\n";
141 141
         if ($auth) {
142 142
             $write .= "Proxy-Authorization: Basic $auth\r\n";
143 143
         }
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
             . implode(
206 206
                 "\r\n",
207 207
                 array_map(
208
-                    function ($key, $value) {
208
+                    function($key, $value) {
209 209
                         return "$key: $value";
210 210
                     },
211 211
                     array_keys($headers),
Please login to merge, or discard this patch.