mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Define getSystemValueBool/Int/String function default parameter with correct type
Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
80222e6a06
commit
10a98f9f41
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue