aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r--lib/private/files/cache/updater.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/files/cache/updater.php b/lib/private/files/cache/updater.php
index 12ff802dd58..58d8e53cfd1 100644
--- a/lib/private/files/cache/updater.php
+++ b/lib/private/files/cache/updater.php
@@ -25,6 +25,7 @@
namespace OC\Files\Cache;
use OCP\Files\Cache\IUpdater;
+use OCP\Files\Storage\IStorage;
/**
* Update the cache and propagate changes
@@ -146,11 +147,11 @@ class Updater implements IUpdater {
/**
* Rename a file or folder in the cache and update the size, etag and mtime of the parent folders
*
- * @param \OCP\Files\Storage $sourceStorage
+ * @param IStorage $sourceStorage
* @param string $source
* @param string $target
*/
- public function renameFromStorage(\OCP\Files\Storage $sourceStorage, $source, $target) {
+ public function renameFromStorage(IStorage $sourceStorage, $source, $target) {
if (!$this->enabled or Scanner::isPartialFile($source) or Scanner::isPartialFile($target)) {
return;
}