summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Wrapper/Quota.php
diff options
context:
space:
mode:
authorTigran Mkrtchyan <tigran.mkrtchyan@desy.de>2020-12-21 13:43:51 +0100
committerTigran Mkrtchyan <tigran.mkrtchyan@desy.de>2020-12-21 19:04:18 +0100
commit4f2dc18f58737894f52f585203402307c64b595e (patch)
tree6679e5760788a955febc03efba77b1342866e717 /lib/private/Files/Storage/Wrapper/Quota.php
parentf3513f3fe4dc52143798e60deb4367f2c829029f (diff)
downloadnextcloud-server-4f2dc18f58737894f52f585203402307c64b595e.tar.gz
nextcloud-server-4f2dc18f58737894f52f585203402307c64b595e.zip
storage: update IStorage#file_put_contents docs to match usage
The current phpdoc of IStorage#file_put_contents doesnt corresponds to it's actual usage in code, e.g. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Diffstat (limited to 'lib/private/Files/Storage/Wrapper/Quota.php')
-rw-r--r--lib/private/Files/Storage/Wrapper/Quota.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php
index 406f0fd4649..41fae7cafc9 100644
--- a/lib/private/Files/Storage/Wrapper/Quota.php
+++ b/lib/private/Files/Storage/Wrapper/Quota.php
@@ -121,8 +121,8 @@ class Quota extends Wrapper {
* see http://php.net/manual/en/function.file_put_contents.php
*
* @param string $path
- * @param string $data
- * @return bool
+ * @param mixed $data
+ * @return int|false
*/
public function file_put_contents($path, $data) {
$free = $this->free_space($path);