summaryrefslogtreecommitdiffstats
path: root/apps/encryption_dummy
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-04-09 14:06:55 +0200
committerLukas Reschke <lukas@owncloud.com>2015-04-09 14:09:09 +0200
commitec69f2838c5d06bd827c3ad79e3561b78a0d43a2 (patch)
treedce14fa6a7890584b7f9374be8d3b489f7739542 /apps/encryption_dummy
parent4f97cb9d1bace32c0ebda1f946e147631309a01f (diff)
downloadnextcloud-server-ec69f2838c5d06bd827c3ad79e3561b78a0d43a2.tar.gz
nextcloud-server-ec69f2838c5d06bd827c3ad79e3561b78a0d43a2.zip
Fix typos and some other adjustments
Diffstat (limited to 'apps/encryption_dummy')
-rw-r--r--apps/encryption_dummy/lib/dummymodule.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption_dummy/lib/dummymodule.php b/apps/encryption_dummy/lib/dummymodule.php
index 8cec9dfaf4c..b4dfe34a9bf 100644
--- a/apps/encryption_dummy/lib/dummymodule.php
+++ b/apps/encryption_dummy/lib/dummymodule.php
@@ -56,11 +56,11 @@ class DummyModule implements IEncryptionModule {
* @param array $header contains the header data read from the file
* @param array $accessList who has access to the file contains the key 'users' and 'public'
*
- * $return array $header contain data as key-value pairs which should be
+ * @return array $header contain data as key-value pairs which should be
* written to the header, in case of a write operation
* or if no additional data is needed return a empty array
*/
- public function begin($path, $user, $header, $accessList) {
+ public function begin($path, $user, array $header, array $accessList) {
return array();
}
@@ -141,7 +141,7 @@ class DummyModule implements IEncryptionModule {
* @param array $accessList who has access to the file contains the key 'users' and 'public'
* @return boolean
*/
- public function update($path, $uid, $accessList) {
+ public function update($path, $uid, array $accessList) {
return true;
}
}