mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
chore: psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
910d25ed5e
commit
a2bcf725a6
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue