Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 authored and backportbot[bot] committed Dec 11, 2024
1 parent 2cccb7b commit 3cd106c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
28 changes: 14 additions & 14 deletions lib/Mount/MountProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ private function getCurrentUID(): ?string {
}

public function getMount(
int $id,
string $mountPoint,
int $permissions,
int $quota,
?ICacheEntry $cacheEntry = null,
int $id,
string $mountPoint,
int $permissions,
int $quota,
?ICacheEntry $cacheEntry = null,
?IStorageFactory $loader = null,
bool $acl = false,
?IUser $user = null,
Expand Down Expand Up @@ -285,11 +285,11 @@ public function getMount(
}

public function getTrashMount(
int $id,
string $mountPoint,
int $quota,
int $id,
string $mountPoint,
int $quota,
IStorageFactory $loader,
IUser $user,
IUser $user,
): IMountPoint {

$storage = $this->getRootFolder()->getStorage();
Expand All @@ -310,11 +310,11 @@ public function getTrashMount(
}

public function getGroupFolderStorage(
int $id,
IStorage $rootStorage,
?IUser $user,
string $rootPath,
int $quota,
int $id,
IStorage $rootStorage,
?IUser $user,
string $rootPath,
int $quota,
?ICacheEntry $rootCacheEntry,
): IStorage {
if ($this->enableEncryption) {
Expand Down
1 change: 0 additions & 1 deletion lib/Trash/GroupTrashItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace OCA\GroupFolders\Trash;

use OC\Files\Storage\Wrapper\Jail;
use OCA\Files_Trashbin\Trash\ITrashBackend;
use OCA\Files_Trashbin\Trash\TrashItem;
use OCP\Files\FileInfo;
Expand Down
2 changes: 1 addition & 1 deletion lib/Trash/TrashBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function moveToTrash(IStorage $storage, string $internalPath): bool {
$folderId = $storage->getFolderId();
$user = $this->userSession->getUser();
if (!$user) {
throw new \Exception("file moved to trash with no user in context");
throw new \Exception('file moved to trash with no user in context');
}
// ensure the folder exists
$this->getTrashFolder($folderId);
Expand Down

0 comments on commit 3cd106c

Please sign in to comment.