Skip to content

Commit e884961

Browse files
committed
Clarify return type documentation
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
1 parent bd589e8 commit e884961

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/public/IConfig.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function getSystemValue($key, $default = '');
7777
*
7878
* @param string $key the key of the value, under which it was saved
7979
* @param bool $default the default value to be returned if the value isn't set
80-
* @return bool the value or $default
80+
* @return bool the value or $default, must not be null
8181
* @since 16.0.0
8282
*/
8383
public function getSystemValueBool(string $key, bool $default = false): bool;
@@ -87,7 +87,7 @@ public function getSystemValueBool(string $key, bool $default = false): bool;
8787
*
8888
* @param string $key the key of the value, under which it was saved
8989
* @param int $default the default value to be returned if the value isn't set
90-
* @return int the value or $default
90+
* @return int the value or $default, must not be null
9191
* @since 16.0.0
9292
*/
9393
public function getSystemValueInt(string $key, int $default = 0): int;
@@ -97,7 +97,7 @@ public function getSystemValueInt(string $key, int $default = 0): int;
9797
*
9898
* @param string $key the key of the value, under which it was saved
9999
* @param string $default the default value to be returned if the value isn't set
100-
* @return string the value or $default
100+
* @return string the value or $default, must not be null
101101
* @since 16.0.0
102102
*/
103103
public function getSystemValueString(string $key, string $default = ''): string;

0 commit comments

Comments
 (0)