chore: psalm fixes

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2025-01-20 15:31:05 +01:00
parent 910d25ed5e
commit a2bcf725a6
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -147,6 +147,7 @@ class Scanner extends PublicEmitter {
continue;
}
/** @var \OC\Files\Cache\Scanner $scanner */
$scanner = $storage->getScanner();
$this->attachListener($mount);
@ -226,6 +227,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);