@@ -213,6 +213,10 @@ discard block |
||
| 213 | 213 | |
| 214 | 214 | /** |
| 215 | 215 | * |
| 216 | + * @param string $user |
|
| 217 | + * @param string $targetFilename |
|
| 218 | + * @param string $targetLocation |
|
| 219 | + * @param integer $timestamp |
|
| 216 | 220 | */ |
| 217 | 221 | public static function insertTrashEntry($user, $targetFilename, $targetLocation, $timestamp) { |
| 218 | 222 | $query = \OC_DB::prepare("INSERT INTO `*PREFIX*files_trash` (`id`,`timestamp`,`location`,`user`) VALUES (?,?,?,?)"); |
@@ -756,7 +760,7 @@ discard block |
||
| 756 | 760 | * if the size limit for the trash bin is reached, we delete the oldest |
| 757 | 761 | * files in the trash bin until we meet the limit again |
| 758 | 762 | * |
| 759 | - * @param array $files |
|
| 763 | + * @param \OCP\Files\FileInfo[] $files |
|
| 760 | 764 | * @param string $user |
| 761 | 765 | * @param int $availableSpace available disc space |
| 762 | 766 | * @return int size of deleted files |
@@ -784,7 +788,7 @@ discard block |
||
| 784 | 788 | /** |
| 785 | 789 | * delete files older then max storage time |
| 786 | 790 | * |
| 787 | - * @param array $files list of files sorted by mtime |
|
| 791 | + * @param \OCP\Files\FileInfo[] $files list of files sorted by mtime |
|
| 788 | 792 | * @param string $user |
| 789 | 793 | * @return integer[] size of deleted files and number of deleted files |
| 790 | 794 | */ |