aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/stream.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 12:29:25 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-16 22:21:57 +0100
commitc4f1de63a8ebe137566e034641b7bc3b05a05058 (patch)
treec238bc352ad6507bd40de7ed8eecedd03c470ce2 /apps/files_encryption/lib/stream.php
parent42b99b6d0fbcaf54b3cf3b3c9be5bc8a9c7a2e12 (diff)
downloadnextcloud-server-c4f1de63a8ebe137566e034641b7bc3b05a05058.tar.gz
nextcloud-server-c4f1de63a8ebe137566e034641b7bc3b05a05058.zip
Fix PHPDoc in /apps
Diffstat (limited to 'apps/files_encryption/lib/stream.php')
-rw-r--r--apps/files_encryption/lib/stream.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php
index 8b575174e2e..9a204e088a3 100644
--- a/apps/files_encryption/lib/stream.php
+++ b/apps/files_encryption/lib/stream.php
@@ -79,10 +79,10 @@ class Stream {
private $privateKey;
/**
- * @param $path raw path relative to data/
- * @param $mode
- * @param $options
- * @param $opened_path
+ * @param string $path raw path relative to data/
+ * @param string $mode
+ * @param int $options
+ * @param string $opened_path
* @return bool
*/
public function stream_open($path, $mode, $options, &$opened_path) {
@@ -187,7 +187,7 @@ class Stream {
}
/**
- * @param $offset
+ * @param int $offset
* @param int $whence
* @return bool true if fseek was successful, otherwise false
*/
@@ -202,7 +202,7 @@ class Stream {
}
/**
- * @param $count
+ * @param int $count
* @return bool|string
* @throws \Exception
*/
@@ -426,9 +426,9 @@ class Stream {
/**
- * @param $option
- * @param $arg1
- * @param $arg2
+ * @param int $option
+ * @param int $arg1
+ * @param int|null $arg2
*/
public function stream_set_option($option, $arg1, $arg2) {
$return = false;
@@ -454,7 +454,7 @@ class Stream {
}
/**
- * @param $mode
+ * @param int $mode
*/
public function stream_lock($mode) {
return flock($this->handle, $mode);