-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IConfig: PHP 7.4, global default values #33051
Conversation
return $this->config->getAppValueInt($this->appName, $key, $default); | ||
} | ||
|
||
public function getAppValueBool(string $key): bool { |
Check failure
Code scanning / Psalm
InvalidReturnType
public function getAppValueBool(string $key): bool { | ||
} | ||
|
||
public function getAppValueArray(string $key): array { |
Check failure
Code scanning / Psalm
InvalidReturnType
public function getUserValue(string $userId, string $key, string $default = ''): string { | ||
return $this->config->getUserValue($userId, $this->appName, $key, $default); | ||
} | ||
|
||
public function getUserValueInt(string $userId, string $key): int { |
Check failure
Code scanning / Psalm
InvalidReturnType
public function getUserValueInt(string $userId, string $key): int { | ||
} | ||
|
||
public function getUserValueBool(string $userId, string $key): bool { |
Check failure
Code scanning / Psalm
InvalidReturnType
public function getUserValueBool(string $userId, string $key): bool { | ||
} | ||
|
||
public function getUserValueArray(string $userId, string $key): array { |
Check failure
Code scanning / Psalm
InvalidReturnType
Signed-off-by: Maxence Lange <[email protected]>
1fbb8eb
to
7c56fcf
Compare
WIP
setAppDefaultValues()
,setUserDefaultValues()
,setSystemDefaultValues()
setAppValueInt()
,setAppValueBool()
,setAppValueArray()
getAppValueInt()
,getAppValueBool()
,getAppValueArray()
setUserValueInt()
,setUserValueBool()
,setUserAppValueArray()
getUserValueInt()
,getUserValueBool()
,getUserAppValueArray()
setValue()
method