aboutsummaryrefslogtreecommitdiffstats
path: root/lib/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/config.php b/lib/config.php
index 032d401264c..cbea9199320 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -47,7 +47,7 @@ class OC_Config{
/**
* @brief Lists all available config keys
- * @returns array with key names
+ * @return array with key names
*
* This function returns all keys saved in config.php. Please note that it
* does not return the values.
@@ -60,9 +60,9 @@ class OC_Config{
/**
* @brief Gets a value from config.php
- * @param $key key
- * @param $default = null default value
- * @returns the value or $default
+ * @param string $key key
+ * @param string $default = null default value
+ * @return string the value or $default
*
* This function gets the value from config.php. If it does not exist,
* $default will be returned.
@@ -79,9 +79,9 @@ class OC_Config{
/**
* @brief Sets a value
- * @param $key key
- * @param $value value
- * @returns true/false
+ * @param string $key key
+ * @param string $value value
+ * @return bool
*
* This function sets the value and writes the config.php. If the file can
* not be written, false will be returned.
@@ -99,8 +99,8 @@ class OC_Config{
/**
* @brief Removes a key from the config
- * @param $key key
- * @returns true/false
+ * @param string $key key
+ * @return bool
*
* This function removes a key from the config.php. If owncloud has no
* write access to config.php, the function will return false.
@@ -121,7 +121,7 @@ class OC_Config{
/**
* @brief Loads the config file
- * @returns true/false
+ * @return bool
*
* Reads the config file and saves it to the cache
*/
@@ -148,7 +148,7 @@ class OC_Config{
/**
* @brief Writes the config file
- * @returns true/false
+ * @return bool
*
* Saves the config to the config file.
*