@@ -86,7 +86,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |