Completed
Pull Request — master (#31)
by Hiraku
02:06
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 patch added patch discarded remove patch
@@ -108,6 +108,12 @@
 block discarded – undo
108 108
         });
109 109
     }
110 110
 
111
+    /**
112
+     * @param string $origin
113
+     * @param string $fileUrl
114
+     * @param boolean $progress
115
+     * @param \Closure $exec
116
+     */
111 117
     protected function fetch($origin, $fileUrl, $progress, $options, $exec)
112 118
     {
113 119
         do {
Please login to merge, or discard this patch.