Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-16 00:55:20 +0400
committerBart Visscher <bartv@thisnet.nl>2014-04-16 00:55:20 +0400
commita4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch)
tree3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/filechunking.php
parentd826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff)
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/filechunking.php')
-rw-r--r--lib/private/filechunking.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/filechunking.php b/lib/private/filechunking.php
index 1da02fc81e3..990499e40b4 100644
--- a/lib/private/filechunking.php
+++ b/lib/private/filechunking.php
@@ -70,7 +70,7 @@ class OC_FileChunking {
*
* @param string $f target path
*
- * @return assembled file size
+ * @return integer assembled file size
*
* @throws \OC\InsufficientStorageException when file could not be fully
* assembled due to lack of free space
@@ -91,7 +91,7 @@ class OC_FileChunking {
/**
* Returns the size of the chunks already present
- * @return size in bytes
+ * @return integer size in bytes
*/
public function getCurrentSize() {
$cache = $this->getCache();
@@ -159,7 +159,7 @@ class OC_FileChunking {
*
* @param string $path target path
*
- * @return assembled file size or false if file could not be created
+ * @return boolean assembled file size or false if file could not be created
*
* @throws \OC\InsufficientStorageException when file could not be fully
* assembled due to lack of free space
@@ -216,5 +216,6 @@ class OC_FileChunking {
return false;
}
}
+ return false;
}
}