aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-04-18 09:24:11 +0200
committerJoas Schilling <coding@schilljs.com>2024-04-18 09:24:11 +0200
commit64d32abb4857f51476488e8946c6e9a6af0d2f89 (patch)
tree3d8ae74af05045f509cefce0736d396dc238f4fc /lib/private
parent050408c9de2431c2eafc026b9ba5226cd49ae0a2 (diff)
downloadnextcloud-server-64d32abb4857f51476488e8946c6e9a6af0d2f89.tar.gz
nextcloud-server-64d32abb4857f51476488e8946c6e9a6af0d2f89.zip
fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/Storage/Local.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index e5764f68405..2c90a28fe3b 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -584,6 +584,7 @@ class Local extends \OC\Files\Storage\Common {
}
private function canDoCrossStorageMove(IStorage $sourceStorage) {
+ /** @psalm-suppress UndefinedClass */
return $sourceStorage->instanceOfStorage(Local::class)
// Don't treat ACLStorageWrapper like local storage where copy can be done directly.
// Instead, use the slower recursive copying in php from Common::copyFromStorage with