From 8744d9e7529c5029801c942af7ea004ca6f355a2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 20 Jan 2025 15:31:05 +0100 Subject: [PATCH] chore: psalm fixes Signed-off-by: Robin Appelman --- lib/private/Files/Utils/Scanner.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/private/Files/Utils/Scanner.php b/lib/private/Files/Utils/Scanner.php index f5e9cda29882e..1536878ad7f1e 100644 --- a/lib/private/Files/Utils/Scanner.php +++ b/lib/private/Files/Utils/Scanner.php @@ -170,6 +170,7 @@ public function backgroundScan($dir) { continue; } + /** @var \OC\Files\Cache\Scanner $scanner */ $scanner = $storage->getScanner(); $this->attachListener($mount); @@ -249,6 +250,7 @@ public function scan($dir = '', $recursive = \OC\Files\Cache\Scanner::SCAN_RECUR continue; } $relativePath = $mount->getInternalPath($dir); + /** @var \OC\Files\Cache\Scanner $scanner */ $scanner = $storage->getScanner(); $scanner->setUseTransactions(false); $this->attachListener($mount);