summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/files.php b/lib/private/legacy/files.php
index bd44d0a7c2e..ba635d57627 100644
--- a/lib/private/legacy/files.php
+++ b/lib/private/legacy/files.php
@@ -340,7 +340,7 @@ class OC_Files {
*
* @param int $size file size in bytes
* @param array $files override '.htaccess' and '.user.ini' locations
- * @return bool false on failure, size on success
+ * @return bool|int false on failure, size on success
*/
public static function setUploadLimit($size, $files = []) {
//don't allow user to break his config