From 4f2dc18f58737894f52f585203402307c64b595e Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Mon, 21 Dec 2020 13:43:51 +0100 Subject: 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 --- lib/private/Files/Storage/Wrapper/Encryption.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/Files/Storage/Wrapper/Encryption.php') diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index 3a97764fbb8..38b252f8aaa 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -234,8 +234,8 @@ class Encryption 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) { // file put content will always be translated to a stream write -- cgit v1.2.3