]> source.dussan.org Git - nextcloud-server.git/commitdiff
Define getSystemValueBool/Int/String function default parameter with correct type 20717/head
authorMichaIng <micha@dietpi.com>
Wed, 29 Apr 2020 12:19:52 +0000 (14:19 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Apr 2020 12:19:52 +0000 (14:19 +0200)
Signed-off-by: MichaIng <micha@dietpi.com>
lib/private/AllConfig.php

index 8834ac9b5927ca5c4388db51316111cf74abb356..5218d969b47c747f20ef4328a73e16c699c060d3 100644 (file)
@@ -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
         *