aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-10 16:02:21 +0100
committerChristopher Ng <chrng8@gmail.com>2021-12-13 19:20:10 +0000
commit0877d62c47096c72ebad1207adfd9c7a4d39d978 (patch)
treec1fd9cd2f5abee5df284019ecd2111854db5e116 /lib/private
parent99006be1265cd51065d327b295f132f07ba0a15e (diff)
downloadnextcloud-server-0877d62c47096c72ebad1207adfd9c7a4d39d978.tar.gz
nextcloud-server-0877d62c47096c72ebad1207adfd9c7a4d39d978.zip
Make sure strtolower only receives a string to satisfy psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/AllConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php
index 45ed77e7888..4e7ec7554f7 100644
--- a/lib/private/AllConfig.php
+++ b/lib/private/AllConfig.php
@@ -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);