@@ -281,7 +281,6 @@ discard block |
||
281 | 281 | /** |
282 | 282 | * Take a file instance and upload it to FS, also save in DB. |
283 | 283 | * |
284 | - * @param \FileInstance $fileInstance |
|
285 | 284 | * |
286 | 285 | * @return bool success |
287 | 286 | */ |
@@ -293,7 +292,6 @@ discard block |
||
293 | 292 | /** |
294 | 293 | * Take an url and download it, also save it in DB. |
295 | 294 | * |
296 | - * @param string $url |
|
297 | 295 | * |
298 | 296 | * @return bool|string[] error or json success string |
299 | 297 | */ |
@@ -317,7 +315,6 @@ discard block |
||
317 | 315 | * Handles file movement from tmp directory to proper media storage |
318 | 316 | * Makes sure there is no overwrite by appending to filename. |
319 | 317 | * |
320 | - * @param bool $insert is inserted |
|
321 | 318 | * |
322 | 319 | * @return bool success |
323 | 320 | */ |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | * |
228 | 228 | * @param string $realFilepath |
229 | 229 | * |
230 | - * @return int|null media duration |
|
230 | + * @return double|null media duration |
|
231 | 231 | */ |
232 | 232 | public static function getDuration($realFilepath) |
233 | 233 | { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | * |
248 | 248 | * @param bool $insert is inserted |
249 | 249 | * |
250 | - * @return bool success |
|
250 | + * @return string|boolean success |
|
251 | 251 | */ |
252 | 252 | public function beforeSaveContent($insert, $data) |
253 | 253 | { |