summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-18 17:30:26 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-02-18 17:30:26 +0100
commit3b1083f46eb7dd67faddc8214799ee6396ffdea9 (patch)
tree74c03cc55aed8c776720ff8c0abb4ce2561a73c8 /lib/public
parent92560c5b86cb88920b6e439bdf4b90f1d59e9b6c (diff)
parent2c6411b8977e4d17e6489c5a1b768f9de93ba280 (diff)
downloadnextcloud-server-3b1083f46eb7dd67faddc8214799ee6396ffdea9.tar.gz
nextcloud-server-3b1083f46eb7dd67faddc8214799ee6396ffdea9.zip
Merge pull request #7176 from owncloud/style
Some style fixes
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/config.php4
-rw-r--r--lib/public/iconfig.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/config.php b/lib/public/config.php
index d9355a0605f..c1cc1034878 100644
--- a/lib/public/config.php
+++ b/lib/public/config.php
@@ -42,7 +42,7 @@ class Config {
/**
* Gets a value from config.php
* @param string $key key
- * @param string $default = null default value
+ * @param mixed $default = null default value
* @return string the value or $default
*
* This function gets the value from config.php. If it does not exist,
@@ -55,7 +55,7 @@ class Config {
/**
* Sets a value
* @param string $key key
- * @param string $value value
+ * @param mixed $value value
* @return bool
*
* This function sets the value and writes the config.php. If the file can
diff --git a/lib/public/iconfig.php b/lib/public/iconfig.php
index 1d0f8e0015c..585ee2812dc 100644
--- a/lib/public/iconfig.php
+++ b/lib/public/iconfig.php
@@ -38,7 +38,7 @@ interface IConfig {
* Sets a new system wide value
*
* @param string $key the key of the value, under which will be saved
- * @param string $value the value that should be stored
+ * @param mixed $value the value that should be stored
* @todo need a use case for this
*/
// public function setSystemValue($key, $value);
@@ -47,7 +47,7 @@ interface IConfig {
* Looks up a system wide defined value
*
* @param string $key the key of the value, under which it was saved
- * @param string $default the default value to be returned if the value isn't set
+ * @param mixed $default the default value to be returned if the value isn't set
* @return string the saved value
*/
public function getSystemValue($key, $default = '');