Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2020-04-29 15:19:52 +0300
committerGitHub <noreply@github.com>2020-04-29 15:19:52 +0300
commit10a98f9f41ac99fbcdf71c915ad980eb8bc77ee9 (patch)
tree8939b417216745651aa90953c200cca2e9ecdba3 /lib
parent80222e6a06d282a2cbd9fdfa0a446316c27278ee (diff)
Define getSystemValueBool/Int/String function default parameter with correct type
Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AllConfig.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php
index 8834ac9b592..5218d969b47 100644
--- a/lib/private/AllConfig.php
+++ b/lib/private/AllConfig.php
@@ -130,7 +130,7 @@ class AllConfig implements \OCP\IConfig {
* Looks up a boolean system wide defined value
*
* @param string $key the key of the value, under which it was saved
- * @param mixed $default the default value to be returned if the value isn't set
+ * @param bool $default the default value to be returned if the value isn't set
*
* @return bool
*
@@ -144,7 +144,7 @@ class AllConfig implements \OCP\IConfig {
* Looks up an integer system wide defined value
*
* @param string $key the key of the value, under which it was saved
- * @param mixed $default the default value to be returned if the value isn't set
+ * @param int $default the default value to be returned if the value isn't set
*
* @return int
*
@@ -158,7 +158,7 @@ class AllConfig implements \OCP\IConfig {
* Looks up a string system wide defined value
*
* @param string $key the key of the value, under which it was saved
- * @param mixed $default the default value to be returned if the value isn't set
+ * @param string $default the default value to be returned if the value isn't set
*
* @return string
*