diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-04-09 14:06:55 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-04-09 14:09:09 +0200 |
commit | ec69f2838c5d06bd827c3ad79e3561b78a0d43a2 (patch) | |
tree | dce14fa6a7890584b7f9374be8d3b489f7739542 /apps/encryption/lib/crypto/encryption.php | |
parent | 4f97cb9d1bace32c0ebda1f946e147631309a01f (diff) | |
download | nextcloud-server-ec69f2838c5d06bd827c3ad79e3561b78a0d43a2.tar.gz nextcloud-server-ec69f2838c5d06bd827c3ad79e3561b78a0d43a2.zip |
Fix typos and some other adjustments
Diffstat (limited to 'apps/encryption/lib/crypto/encryption.php')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index adf57d35e80..13beda196ce 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -107,7 +107,7 @@ class Encryption implements IEncryptionModule { * 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) { if (isset($header['cipher'])) { $this->cipher = $header['cipher']; @@ -246,7 +246,7 @@ class Encryption 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) { $fileKey = $this->keyManager->getFileKey($path, $uid); $publicKeys = array(); foreach ($accessList['users'] as $user) { |