summaryrefslogtreecommitdiffstats
path: root/lib/private/allconfig.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-02-12 17:38:32 +0100
committerBart Visscher <bartv@thisnet.nl>2014-02-12 17:38:32 +0100
commit2c6411b8977e4d17e6489c5a1b768f9de93ba280 (patch)
tree492db1f1ec767bd0de88dbc68a9e373371f3cbc7 /lib/private/allconfig.php
parent1fb5f96c37ab8738ba96b97bc04a75b0fa911aca (diff)
downloadnextcloud-server-2c6411b8977e4d17e6489c5a1b768f9de93ba280.tar.gz
nextcloud-server-2c6411b8977e4d17e6489c5a1b768f9de93ba280.zip
$default of OC_Config::[gs]etValue can have more then string as type
Diffstat (limited to 'lib/private/allconfig.php')
-rw-r--r--lib/private/allconfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/allconfig.php b/lib/private/allconfig.php
index a4aa69d43fb..de3ac973637 100644
--- a/lib/private/allconfig.php
+++ b/lib/private/allconfig.php
@@ -17,7 +17,7 @@ class AllConfig implements \OCP\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) {
@@ -28,7 +28,7 @@ class AllConfig implements \OCP\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 = '') {