aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Info/File.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-05-14 15:51:42 +0200
committerprovokateurin <kate@provokateurin.de>2025-05-15 00:16:54 +0200
commit82fb8f850828d24f551ad5ef3b8523486e5104df (patch)
tree4b7bf5bcd5e8f37b1a70a9dec1f80729b97ef6e6 /core/Command/Info/File.php
parentc3ddd1da46c9f75071f61d3cf7381570297a74d6 (diff)
downloadnextcloud-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/File.php')
-rw-r--r--core/Command/Info/File.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Info/File.php b/core/Command/Info/File.php
index c21c2e666fb..287bd0e29cb 100644
--- a/core/Command/Info/File.php
+++ b/core/Command/Info/File.php
@@ -9,6 +9,7 @@ namespace OC\Core\Command\Info;
use OC\Files\ObjectStore\ObjectStoreStorage;
use OC\Files\Storage\Wrapper\Encryption;
+use OC\Files\Storage\Wrapper\Wrapper;
use OC\Files\View;
use OCA\Files_External\Config\ExternalMountPoint;
use OCA\GroupFolders\Mount\GroupMountPoint;
@@ -176,7 +177,7 @@ class File extends Command {
if ($input->getOption('storage-tree')) {
$storageTmp = $storage;
$storageClass = get_class($storageTmp) . ' (cache:' . get_class($storageTmp->getCache()) . ')';
- while ($storageTmp instanceof \OC\Files\Storage\Wrapper\Wrapper) {
+ while ($storageTmp instanceof Wrapper) {
$storageTmp = $storageTmp->getWrapperStorage();
$storageClass .= "\n\t" . '> ' . get_class($storageTmp) . ' (cache:' . get_class($storageTmp->getCache()) . ')';
}