diff options
author | Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | 2020-12-21 13:43:51 +0100 |
---|---|---|
committer | Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | 2020-12-21 19:04:18 +0100 |
commit | 4f2dc18f58737894f52f585203402307c64b595e (patch) | |
tree | 6679e5760788a955febc03efba77b1342866e717 /lib/public/Files | |
parent | f3513f3fe4dc52143798e60deb4367f2c829029f (diff) | |
download | nextcloud-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/public/Files')
-rw-r--r-- | lib/public/Files/Storage.php | 4 | ||||
-rw-r--r-- | lib/public/Files/Storage/IStorage.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php index d642512641d..2d89ce9f28e 100644 --- a/lib/public/Files/Storage.php +++ b/lib/public/Files/Storage.php @@ -230,8 +230,8 @@ interface Storage extends IStorage { * 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 * @since 6.0.0 */ public function file_put_contents($path, $data); diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php index f5073d1ad73..9cd5553b8bf 100644 --- a/lib/public/Files/Storage/IStorage.php +++ b/lib/public/Files/Storage/IStorage.php @@ -226,8 +226,8 @@ interface IStorage { * 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 * @since 9.0.0 */ public function file_put_contents($path, $data); |