summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-26 11:07:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-26 13:58:58 +0200
commit73cf71a20fb99473aa795bffe8fbb70d075226d7 (patch)
tree01015a476dabe98700bbe24103448fd526f4db55 /lib/private/Files
parentf148e3fb2936f079074c02ba474ebe8202354367 (diff)
downloadnextcloud-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/private/Files')
-rw-r--r--lib/private/Files/Node/File.php2
-rw-r--r--lib/private/Files/SimpleFS/SimpleFile.php2
-rw-r--r--lib/private/Files/View.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Files/Node/File.php b/lib/private/Files/Node/File.php
index 2ddbac97dce..7c411620ca0 100644
--- a/lib/private/Files/Node/File.php
+++ b/lib/private/Files/Node/File.php
@@ -56,7 +56,7 @@ class File extends Node implements \OCP\Files\File {
}
/**
- * @param string $data
+ * @param string|resource $data
* @throws \OCP\Files\NotPermittedException
* @throws \OCP\Files\GenericFileException
*/
diff --git a/lib/private/Files/SimpleFS/SimpleFile.php b/lib/private/Files/SimpleFS/SimpleFile.php
index 1f2b497a192..e9bf0213d07 100644
--- a/lib/private/Files/SimpleFS/SimpleFile.php
+++ b/lib/private/Files/SimpleFS/SimpleFile.php
@@ -97,7 +97,7 @@ class SimpleFile implements ISimpleFile {
/**
* Overwrite the file
*
- * @param string $data
+ * @param string|resource $data
* @throws NotPermittedException
*/
public function putContent($data) {
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index bfc831af41c..c6429a89942 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -632,7 +632,7 @@ class View {
/**
* @param string $path
- * @param mixed $data
+ * @param string|resource $data
* @return bool|mixed
* @throws \Exception
*/