diff options
author | provokateurin <kate@provokateurin.de> | 2025-05-14 15:51:42 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-05-15 00:16:54 +0200 |
commit | 82fb8f850828d24f551ad5ef3b8523486e5104df (patch) | |
tree | 4b7bf5bcd5e8f37b1a70a9dec1f80729b97ef6e6 /core/Command/Info/FileUtils.php | |
parent | c3ddd1da46c9f75071f61d3cf7381570297a74d6 (diff) | |
download | nextcloud-server-refactor/rector-core.tar.gz nextcloud-server-refactor/rector-core.zip |
refactor: Extend rector to core/refactor/rector-core
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Command/Info/FileUtils.php')
-rw-r--r-- | core/Command/Info/FileUtils.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Command/Info/FileUtils.php b/core/Command/Info/FileUtils.php index 5de5f5fcaa6..4de0fbd5faa 100644 --- a/core/Command/Info/FileUtils.php +++ b/core/Command/Info/FileUtils.php @@ -8,6 +8,7 @@ declare(strict_types=1); namespace OC\Core\Command\Info; +use OC\User\NoUserException; use OCA\Circles\MountManager\CircleMount; use OCA\Files_External\Config\ExternalMountPoint; use OCA\Files_Sharing\SharedMount; @@ -21,6 +22,7 @@ use OCP\Files\IRootFolder; use OCP\Files\Mount\IMountPoint; use OCP\Files\Node; use OCP\Files\NotFoundException; +use OCP\Files\NotPermittedException; use OCP\Share\IShare; use OCP\Util; use Symfony\Component\Console\Output\OutputInterface; @@ -35,8 +37,8 @@ class FileUtils { /** * @param FileInfo $file * @return array<string, Node[]> - * @throws \OCP\Files\NotPermittedException - * @throws \OC\User\NoUserException + * @throws NotPermittedException + * @throws NoUserException */ public function getFilesByUser(FileInfo $file): array { $id = $file->getId(); |