mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Make sure strtolower only receives a string to satisfy psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
99006be126
commit
0877d62c47
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class AllConfig implements \OCP\IConfig {
|
|||
$this->fixDIInit();
|
||||
|
||||
if ($appName === 'core' && $key === 'email') {
|
||||
$value = strtolower($value);
|
||||
$value = strtolower((string) $value);
|
||||
}
|
||||
|
||||
$prevValue = $this->getUserValue($userId, $appName, $key, null);
|
||||
|
|
|
|||
Loading…
Reference in a new issue