Completed
Pull Request — master (#25)
by Nikhil
02:14
created
src/Aspects/HttpGetRequest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@  discard block
 block discarded – undo
60 60
         }
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $url
65
+     */
63 66
     public function importURL($url)
64 67
     {
65 68
         $struct = parse_url($url);
@@ -78,6 +81,11 @@  discard block
 block discarded – undo
78 81
     }
79 82
 
80 83
     // utility for __construct
84
+
85
+    /**
86
+     * @param string $key
87
+     * @param string $default
88
+     */
81 89
     private static function setOr(array $struct, $key, $default=null)
82 90
     {
83 91
         if (!empty($struct[$key])) {
Please login to merge, or discard this patch.
src/CurlRemoteFilesystem.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Get the content.
88 88
      *
89
-     * @param string $originUrl The origin URL
89
+     * @param string $origin The origin URL
90 90
      * @param string $fileUrl   The file URL
91 91
      * @param bool   $progress  Display the progression
92 92
      * @param array  $options   Additional context options
@@ -106,6 +106,11 @@  discard block
 block discarded – undo
106 106
         });
107 107
     }
108 108
 
109
+    /**
110
+     * @param string $fileUrl
111
+     * @param boolean $progress
112
+     * @param \Closure $exec
113
+     */
109 114
     protected function fetch($origin, $fileUrl, $progress, $options, $exec)
110 115
     {
111 116
         do {
@@ -217,11 +222,6 @@  discard block
 block discarded – undo
217 222
     }
218 223
 
219 224
     /**
220
-     * @param  resource<curl> $ch
221
-     * @param  int $downBytesMax
222
-     * @param  int $downBytes
223
-     * @param  int $upBytesMax
224
-     * @param  int $upBytes
225 225
      */
226 226
     public function progress()
227 227
     {
Please login to merge, or discard this patch.