diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-04-30 09:02:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 09:02:58 +0200 |
commit | 447277776992b54883f8f0b0d3bc05d8d01ffb7d (patch) | |
tree | dbc402bdbce58349b21cd8295fb513f858e51d74 | |
parent | 2df57b270c870e8b5fa63bc192e0cc4b4b42298c (diff) | |
parent | 10a98f9f41ac99fbcdf71c915ad980eb8bc77ee9 (diff) | |
download | nextcloud-server-447277776992b54883f8f0b0d3bc05d8d01ffb7d.tar.gz nextcloud-server-447277776992b54883f8f0b0d3bc05d8d01ffb7d.zip |
Merge pull request #20717 from nextcloud/fix/getconfig-param-definitions
Define getSystemValueBool/Int/String function default parameter with correct type
-rw-r--r-- | lib/private/AllConfig.php | 6 |
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 * |