aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-04 14:26:47 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-14 12:54:42 +0100
commit3deb3bd16399cd7e23a02b45c66e32495dbfda0d (patch)
tree8bd455b52b00d8f9b3105b6d310c471f4fa3cdce /lib/private/files/cache
parente77e76fef4e55df2ff68b28934ced8b5b110e971 (diff)
downloadnextcloud-server-3deb3bd16399cd7e23a02b45c66e32495dbfda0d.tar.gz
nextcloud-server-3deb3bd16399cd7e23a02b45c66e32495dbfda0d.zip
Add IStorage interface for consistent naming
minor phpdoc fixed
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;
}