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