From 0042bdd2e758f8b514acc86c3c72c3b1e5f5911b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Wed, 22 Apr 2015 13:12:52 +0200 Subject: [PATCH] fix PHPDoc --- lib/private/encryption/keys/storage.php | 15 ++++++++------- 1 file 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 */ -- 2.39.5