summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-01-20 15:31:05 +0100
committerRobin Appelman <robin@icewind.nl>2025-01-20 15:31:23 +0100
commit8744d9e7529c5029801c942af7ea004ca6f355a2 (patch)
treedd5dadea36fd7092b16f67c9de34bb0f4171a3dd /lib/private
parent1eb7f1e9a4ca8653e7773266aaf4c2d9c392ae9a (diff)
downloadnextcloud-server-8744d9e7529c5029801c942af7ea004ca6f355a2.tar.gz
nextcloud-server-8744d9e7529c5029801c942af7ea004ca6f355a2.zip
chore: psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/Utils/Scanner.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Files/Utils/Scanner.php b/lib/private/Files/Utils/Scanner.php
index f5e9cda2988..1536878ad7f 100644
--- a/lib/private/Files/Utils/Scanner.php
+++ b/lib/private/Files/Utils/Scanner.php
@@ -170,6 +170,7 @@ class Scanner extends PublicEmitter {
continue;
}
+ /** @var \OC\Files\Cache\Scanner $scanner */
$scanner = $storage->getScanner();
$this->attachListener($mount);
@@ -249,6 +250,7 @@ class Scanner extends PublicEmitter {
continue;
}
$relativePath = $mount->getInternalPath($dir);
+ /** @var \OC\Files\Cache\Scanner $scanner */
$scanner = $storage->getScanner();
$scanner->setUseTransactions(false);
$this->attachListener($mount);