Completed
Pull Request — master (#98)
by Hiraku
02:37
created
src/CopyRequest.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -164,11 +164,18 @@  discard block
 block discarded – undo
164 164
         }
165 165
     }
166 166
 
167
+    /**
168
+     * @param string $key
169
+     */
167 170
     public function addParam($key, $val)
168 171
     {
169 172
         $this->query[$key] = $val;
170 173
     }
171 174
 
175
+    /**
176
+     * @param string $key
177
+     * @param string $val
178
+     */
172 179
     public function addHeader($key, $val)
173 180
     {
174 181
         $this->headers[strtolower($key)] = $val;
@@ -254,6 +261,9 @@  discard block
 block discarded – undo
254 261
         $this->pass = $auth['password'];
255 262
     }
256 263
 
264
+    /**
265
+     * @param string $url
266
+     */
257 267
     private function getProxy($url)
258 268
     {
259 269
         if (isset($_SERVER['no_proxy'])) {
@@ -301,6 +311,7 @@  discard block
 block discarded – undo
301 311
 
302 312
     /**
303 313
      * @param string
314
+     * @param string $destination
304 315
      */
305 316
     public function setDestination($destination)
306 317
     {
Please login to merge, or discard this patch.