summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-13 18:05:00 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-01-13 18:05:00 +0100
commitc8fa85451c2481b6afb438f41f12144b2929d320 (patch)
tree5a9d9ade75c85836772298b1ac4a8d6310c81709
parent55672280e060241aed453748f6072ef6ed91994d (diff)
parent0a400b457778098743c15efd8d2e8f50488630c3 (diff)
downloadnextcloud-server-c8fa85451c2481b6afb438f41f12144b2929d320.tar.gz
nextcloud-server-c8fa85451c2481b6afb438f41f12144b2929d320.zip
Merge pull request #13320 from owncloud/fix-php-doc-for-files-view
Fix annotations in file view
-rw-r--r--lib/private/files/view.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 034c49a9059..57441c8e680 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -212,6 +212,10 @@ class View {
}
}
+ /**
+ * @param string $path
+ * @return bool|mixed
+ */
public function rmdir($path) {
$absolutePath = $this->getAbsolutePath($path);
$mount = Filesystem::getMountManager()->find($absolutePath);
@@ -435,11 +439,17 @@ class View {
/**
* @param string $directory
+ * @return bool|mixed
*/
- public function deleteAll($directory, $empty = false) {
+ public function deleteAll($directory) {
return $this->rmdir($directory);
}
+ /**
+ * @param string $path1
+ * @param string $path2
+ * @return bool|mixed
+ */
public function rename($path1, $path2) {
$postFix1 = (substr($path1, -1, 1) === '/') ? '/' : '';
$postFix2 = (substr($path2, -1, 1) === '/') ? '/' : '';