diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-26 11:07:41 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-26 13:58:58 +0200 |
commit | 73cf71a20fb99473aa795bffe8fbb70d075226d7 (patch) | |
tree | 01015a476dabe98700bbe24103448fd526f4db55 /lib/public/Files | |
parent | f148e3fb2936f079074c02ba474ebe8202354367 (diff) | |
download | nextcloud-server-73cf71a20fb99473aa795bffe8fbb70d075226d7.tar.gz nextcloud-server-73cf71a20fb99473aa795bffe8fbb70d075226d7.zip |
Add resource type phpDoc for putContent methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/File.php | 2 | ||||
-rw-r--r-- | lib/public/Files/SimpleFS/ISimpleFile.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Files/File.php b/lib/public/Files/File.php index 0f052bc66ad..ad2cb7b55c2 100644 --- a/lib/public/Files/File.php +++ b/lib/public/Files/File.php @@ -51,7 +51,7 @@ interface File extends Node { /** * Write to the file from string data * - * @param string $data + * @param string|resource $data * @throws \OCP\Files\NotPermittedException * @throws \OCP\Files\GenericFileException * @since 6.0.0 diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php index e03509d7abf..cd092056cda 100644 --- a/lib/public/Files/SimpleFS/ISimpleFile.php +++ b/lib/public/Files/SimpleFS/ISimpleFile.php @@ -78,7 +78,7 @@ interface ISimpleFile { /** * Overwrite the file * - * @param string $data + * @param string|resource $data * @throws NotPermittedException * @since 11.0.0 */ |