diff options
Diffstat (limited to 'lib/private/AllConfig.php')
-rw-r--r-- | lib/private/AllConfig.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php index 9ccb443aabb..2eca9d55b28 100644 --- a/lib/private/AllConfig.php +++ b/lib/private/AllConfig.php @@ -129,7 +129,9 @@ class AllConfig implements \OCP\IConfig { * * @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 - * @return mixed the value or $default + * + * @return bool + * * @since 16.0.0 */ public function getSystemValueBool(string $key, bool $default = false): bool { @@ -141,7 +143,9 @@ class AllConfig implements \OCP\IConfig { * * @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 - * @return mixed the value or $default + * + * @return int + * * @since 16.0.0 */ public function getSystemValueInt(string $key, int $default = 0): int { @@ -153,7 +157,9 @@ class AllConfig implements \OCP\IConfig { * * @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 - * @return mixed the value or $default + * + * @return string + * * @since 16.0.0 */ public function getSystemValueString(string $key, string $default = ''): string { |