@@ -383,6 +383,14 @@ discard block |
||
383 | 383 | return $size; |
384 | 384 | } |
385 | 385 | |
386 | + /** |
|
387 | + * @param string $path |
|
388 | + * @param boolean $recursive |
|
389 | + * @param integer $reuse |
|
390 | + * @param integer|null $folderId |
|
391 | + * @param boolean $lock |
|
392 | + * @param integer $size |
|
393 | + */ |
|
386 | 394 | private function handleChildren($path, $recursive, $reuse, $folderId, $lock, &$size) { |
387 | 395 | // we put this in it's own function so it cleans up the memory before we start recursing |
388 | 396 | $existingChildren = $this->getExistingChildren($folderId); |
@@ -479,6 +487,9 @@ discard block |
||
479 | 487 | } |
480 | 488 | } |
481 | 489 | |
490 | + /** |
|
491 | + * @param string|boolean $path |
|
492 | + */ |
|
482 | 493 | private function runBackgroundScanJob(callable $callback, $path) { |
483 | 494 | try { |
484 | 495 | $callback(); |