From 108a1745c2d31adf9cba03a38977f8c557a1992a Mon Sep 17 00:00:00 2001 From: J0WI Date: Sun, 4 Dec 2022 16:38:28 +0100 Subject: [PATCH] Clarify return type documentation Signed-off-by: J0WI --- lib/public/IConfig.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index 0e7a752321874..cb8d639cf7c3b 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -77,7 +77,7 @@ public function getSystemValue($key, $default = ''); * * @param string $key the key of the value, under which it was saved * @param bool $default the default value to be returned if the value isn't set - * @return bool the value or $default + * @return bool the value or $default, must not be null * @since 16.0.0 */ public function getSystemValueBool(string $key, bool $default = false): bool; @@ -87,7 +87,7 @@ public function getSystemValueBool(string $key, bool $default = false): bool; * * @param string $key the key of the value, under which it was saved * @param int $default the default value to be returned if the value isn't set - * @return int the value or $default + * @return int the value or $default, must not be null * @since 16.0.0 */ public function getSystemValueInt(string $key, int $default = 0): int; @@ -97,7 +97,7 @@ public function getSystemValueInt(string $key, int $default = 0): int; * * @param string $key the key of the value, under which it was saved * @param string $default the default value to be returned if the value isn't set - * @return string the value or $default + * @return string the value or $default, must not be null * @since 16.0.0 */ public function getSystemValueString(string $key, string $default = ''): string;