@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | /** |
395 | 395 | * store remote ID in federated reShare table |
396 | 396 | * |
397 | - * @param $shareId |
|
397 | + * @param integer $shareId |
|
398 | 398 | * @param $remoteId |
399 | 399 | */ |
400 | 400 | public function storeRemoteId($shareId, $remoteId) { |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | /** |
802 | 802 | * get database row of a give share |
803 | 803 | * |
804 | - * @param $id |
|
804 | + * @param integer $id |
|
805 | 805 | * @return array |
806 | 806 | * @throws ShareNotFound |
807 | 807 | */ |
@@ -1001,12 +1001,12 @@ discard block |
||
1001 | 1001 | } |
1002 | 1002 | |
1003 | 1003 | /** |
1004 | - * @param $remote |
|
1005 | - * @param $token |
|
1006 | - * @param $name |
|
1007 | - * @param $owner |
|
1008 | - * @param $shareWith |
|
1009 | - * @param $remoteId |
|
1004 | + * @param string $remote |
|
1005 | + * @param string $token |
|
1006 | + * @param string $name |
|
1007 | + * @param string $owner |
|
1008 | + * @param string $shareWith |
|
1009 | + * @param integer $remoteId |
|
1010 | 1010 | * |
1011 | 1011 | * @return int |
1012 | 1012 | */ |
@@ -532,6 +532,9 @@ discard block |
||
532 | 532 | return null; |
533 | 533 | } |
534 | 534 | |
535 | + /** |
|
536 | + * @param string $path |
|
537 | + */ |
|
535 | 538 | private function rmObjects($path) { |
536 | 539 | $children = $this->getCache()->getFolderContents($path); |
537 | 540 | foreach ($children as $child) { |
@@ -563,7 +566,7 @@ discard block |
||
563 | 566 | /** |
564 | 567 | * Clear all object stat cache entries under this path |
565 | 568 | * |
566 | - * @param $path |
|
569 | + * @param string $path |
|
567 | 570 | */ |
568 | 571 | private function clearPathStat($path) { |
569 | 572 | $this->objectStatCache->clear($path); |
@@ -583,7 +586,7 @@ discard block |
||
583 | 586 | * not existing. Filecache for folders will not be stored in |
584 | 587 | * the stat cache, and only objects are cached |
585 | 588 | * |
586 | - * @param $path |
|
589 | + * @param string $path |
|
587 | 590 | * @return array|false |
588 | 591 | */ |
589 | 592 | private function getPathStat($path) { |