aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/cryptstream.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-11-04 08:59:45 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2012-11-04 08:59:45 -0800
commit8ac3849a95bd6a733cce9134bab4bf38c5c0fadd (patch)
tree5fc42258625fa612348f701f0dd334ee476bdd4d /apps/files_encryption/lib/cryptstream.php
parent8c4c74b23f268b232e3f591ea564c018597ee82d (diff)
parent30d7993e0105a6c98cbf61d4253d08acf236aca7 (diff)
downloadnextcloud-server-8ac3849a95bd6a733cce9134bab4bf38c5c0fadd.tar.gz
nextcloud-server-8ac3849a95bd6a733cce9134bab4bf38c5c0fadd.zip
Merge pull request #238 from fmms/checkstyle04
Checkstyle fixes
Diffstat (limited to 'apps/files_encryption/lib/cryptstream.php')
-rw-r--r--apps/files_encryption/lib/cryptstream.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/lib/cryptstream.php b/apps/files_encryption/lib/cryptstream.php
index 3170cff366c..8b05560050d 100644
--- a/apps/files_encryption/lib/cryptstream.php
+++ b/apps/files_encryption/lib/cryptstream.php
@@ -23,7 +23,7 @@
/**
* transparently encrypted filestream
*
- * you can use it as wrapper around an existing stream by setting OC_CryptStream::$sourceStreams['foo']=array('path'=>$path,'stream'=>$stream)
+ * you can use it as wrapper around an existing stream by setting OC_CryptStream::$sourceStreams['foo']=array('path'=>$path, 'stream'=>$stream)
* and then fopen('crypt://streams/foo');
*/
@@ -123,11 +123,11 @@ class OC_CryptStream{
$data=substr($data, 8192);
}
}
- $this->size=max($this->size,$currentPos+$length);
+ $this->size=max($this->size, $currentPos+$length);
return $length;
}
- public function stream_set_option($option,$arg1,$arg2) {
+ public function stream_set_option($option, $arg1, $arg2) {
switch($option) {
case STREAM_OPTION_BLOCKING:
stream_set_blocking($this->source, $arg1);