[Pkg-owncloud-commits] [owncloud] 76/215: Make methods explicit public

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:25 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 5855d23ff9ab26f4fe22dd692595f908e60c9876
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Mon Apr 20 11:14:40 2015 +0200

    Make methods explicit public
---
 lib/public/encryption/imanager.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/public/encryption/imanager.php b/lib/public/encryption/imanager.php
index 3cb30f8..0b12c75 100644
--- a/lib/public/encryption/imanager.php
+++ b/lib/public/encryption/imanager.php
@@ -37,7 +37,7 @@ interface IManager {
 	 * @return bool true if enabled, false if not
 	 * @since 8.1.0
 	 */
-	function isEnabled();
+	public function isEnabled();
 
 	/**
 	 * Registers an callback function which must return an encryption module instance
@@ -48,7 +48,7 @@ interface IManager {
 	 * @throws ModuleAlreadyExistsException
 	 * @since 8.1.0
 	 */
-	function registerEncryptionModule($id, $displayName, callable $callback);
+	public function registerEncryptionModule($id, $displayName, callable $callback);
 
 	/**
 	 * Unregisters an encryption module
@@ -56,7 +56,7 @@ interface IManager {
 	 * @param string $moduleId
 	 * @since 8.1.0
 	 */
-	function unregisterEncryptionModule($moduleId);
+	public function unregisterEncryptionModule($moduleId);
 
 	/**
 	 * get a list of all encryption modules
@@ -64,18 +64,18 @@ interface IManager {
 	 * @return array [id => ['id' => $id, 'displayName' => $displayName, 'callback' => callback]]
 	 * @since 8.1.0
 	 */
-	function getEncryptionModules();
+	public function getEncryptionModules();
 
 
 	/**
 	 * get a specific encryption module
 	 *
-	 * @param string $moduleId
+	 * @param string $moduleId Empty to get the default module
 	 * @return IEncryptionModule
 	 * @throws ModuleDoesNotExistsException
 	 * @since 8.1.0
 	 */
-	function getEncryptionModule($moduleId);
+	public function getEncryptionModule($moduleId = '');
 
 	/**
 	 * get default encryption module Id

-- 
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