diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-22 13:12:52 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-22 13:12:52 +0200 |
commit | 0042bdd2e758f8b514acc86c3c72c3b1e5f5911b (patch) | |
tree | 44b0e7971cb6c7c9910f26cbbdb80d5fb60f5c30 /lib/private/encryption | |
parent | 225cde21830459db044d6564c7a9cf62b7dd5944 (diff) | |
download | nextcloud-server-0042bdd2e758f8b514acc86c3c72c3b1e5f5911b.tar.gz nextcloud-server-0042bdd2e758f8b514acc86c3c72c3b1e5f5911b.zip |
fix PHPDoc
Diffstat (limited to 'lib/private/encryption')
-rw-r--r-- | lib/private/encryption/keys/storage.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/private/encryption/keys/storage.php b/lib/private/encryption/keys/storage.php index cd4aa7e56c2..e34d7370ef1 100644 --- a/lib/private/encryption/keys/storage.php +++ b/lib/private/encryption/keys/storage.php @@ -37,13 +37,16 @@ class Storage implements IStorage { private $util; // base dir where all the file related keys are stored + /** @var string */ private $keys_base_dir; + + /** @var string */ private $encryption_base_dir; - private $keyCache = array(); + /** @var array */ + private $keyCache = []; /** - * @param string $encryptionModuleId * @param View $view * @param Util $util */ @@ -139,6 +142,7 @@ class Storage implements IStorage { /** * construct path to users key * + * @param string $encryptionModuleId * @param string $keyId * @param string $uid * @return string @@ -201,6 +205,7 @@ class Storage implements IStorage { /** * get path to key folder for a given file * + * @param string $encryptionModuleId * @param string $path path to the file, relative to data/ * @return string * @throws GenericEncryptionException @@ -230,8 +235,6 @@ class Storage implements IStorage { * * @param string $source * @param string $target - * @param string $owner - * @param bool $systemWide */ public function renameKeys($source, $target) { @@ -258,8 +261,6 @@ class Storage implements IStorage { * * @param string $source * @param string $target - * @param string $owner - * @param bool $systemWide */ public function copyKeys($source, $target) { @@ -282,7 +283,7 @@ class Storage implements IStorage { } /** - * Make preparations to filesystem for saving a keyfile + * Make preparations to filesystem for saving a key file * * @param string $path relative to the views root */ |