Completed
Pull Request — master (#24)
by Hiraku
04:03
created
src/OutputFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             fclose($this->fp);
50 50
         }
51 51
 
52
-        if (! $this->success) {
52
+        if (!$this->success) {
53 53
             unlink($this->fileName);
54 54
             foreach ($this->createdDirs as $dir) {
55 55
                 rmdir($dir);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         do {
75 75
             $dir = dirname($dir);
76 76
             $createdDirs[] = $dir;
77
-        } while (! file_exists($dir));
77
+        } while (!file_exists($dir));
78 78
         array_pop($createdDirs);
79 79
         $this->createdDirs = array_reverse($createdDirs);
80 80
 
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.