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
Next Next 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 b55f595b131c49daeb927807451ed4e33c96c70f
2 changes: 1 addition & 1 deletion apps/files_trashbin/lib/Trashbin.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static function ensureFileScannedHook(array $params): void {
* @param string $filename
* @return array
*/
public static function getUidAndFilename($filename): array {
public static function getUidAndFilename(string $filename): array {
$uid = Filesystem::getOwner($filename);
$userManager = \OC::$server->getUserManager();
// if the user with the UID doesn't exists, e.g. because the UID points
Expand Down