aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/HomeCache.php8
-rw-r--r--lib/private/Files/Node/NonExistingFile.php2
-rw-r--r--lib/private/Files/Node/NonExistingFolder.php6
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/private/Files/Cache/HomeCache.php b/lib/private/Files/Cache/HomeCache.php
index 6b6b94c3f20..5ea65b4d1cb 100644
--- a/lib/private/Files/Cache/HomeCache.php
+++ b/lib/private/Files/Cache/HomeCache.php
@@ -78,12 +78,12 @@ class HomeCache extends Cache {
}
/**
- * @param string $path
+ * @param string $file
* @return ICacheEntry
*/
- public function get($path) {
- $data = parent::get($path);
- if ($path === '' or $path === '/') {
+ public function get($file) {
+ $data = parent::get($file);
+ if ($file === '' or $file === '/') {
// only the size of the "files" dir counts
$filesData = parent::get('files');
diff --git a/lib/private/Files/Node/NonExistingFile.php b/lib/private/Files/Node/NonExistingFile.php
index b21a2a6c65b..f42f2e33b72 100644
--- a/lib/private/Files/Node/NonExistingFile.php
+++ b/lib/private/Files/Node/NonExistingFile.php
@@ -37,7 +37,7 @@ class NonExistingFile extends File {
throw new NotFoundException();
}
- public function copy($newPath) {
+ public function copy($targetPath) {
throw new NotFoundException();
}
diff --git a/lib/private/Files/Node/NonExistingFolder.php b/lib/private/Files/Node/NonExistingFolder.php
index 100687c3e6f..0d573df7727 100644
--- a/lib/private/Files/Node/NonExistingFolder.php
+++ b/lib/private/Files/Node/NonExistingFolder.php
@@ -38,7 +38,7 @@ class NonExistingFolder extends Folder {
throw new NotFoundException();
}
- public function copy($newPath) {
+ public function copy($targetPath) {
throw new NotFoundException();
}
@@ -142,11 +142,11 @@ class NonExistingFolder extends Folder {
throw new NotFoundException();
}
- public function search($pattern) {
+ public function search($query) {
throw new NotFoundException();
}
- public function searchByMime($mime) {
+ public function searchByMime($mimetype) {
throw new NotFoundException();
}