From: MichaIng Date: Wed, 29 Apr 2020 12:19:52 +0000 (+0200) Subject: Define getSystemValueBool/Int/String function default parameter with correct type X-Git-Tag: v19.0.0beta6~10^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F20717%2Fhead;p=nextcloud-server.git Define getSystemValueBool/Int/String function default parameter with correct type Signed-off-by: MichaIng --- 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 *