Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update apps/files_trashbin/lib/Trashbin.php
Co-authored-by: F. E Noel Nfebe <[email protected]>
Signed-off-by: danial rahimy <[email protected]>
  • Loading branch information
danialRahimy and nfebe authored Aug 20, 2023
commit 2186f0dc2814fde3982a42b0d1d2769dfae2e1f9
2 changes: 1 addition & 1 deletion apps/files_trashbin/lib/Trashbin.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private static function setUpTrash(string $user): void {
* @throws CopyRecursiveException
* @throws InvalidPathException
*/
private static function copyFilesToUser($sourcePath, $owner, $targetPath, $user, $timestamp): void {
private static function copyFilesToUser(string $sourcePath, string $owner, string $targetPath, string $user, int $timestamp): void {
self::setUpTrash($owner);

$targetFilename = basename($targetPath);
Expand Down