[Pkg-owncloud-commits] [owncloud] 150/165: fix PHPDoc

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 0042bdd2e758f8b514acc86c3c72c3b1e5f5911b
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Wed Apr 22 13:12:52 2015 +0200

    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 cd4aa7e..e34d737 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
 	 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list