diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-06 16:57:32 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-12 20:03:06 +0100 |
commit | aeecb72e96e54439f98822467bb727366207039f (patch) | |
tree | b77aee20add8d099a271131e0b4b0986426e5df1 /apps/settings/lib | |
parent | 47c9c34cca22602fb609de6c0e1d32ec17a9e7fe (diff) | |
download | nextcloud-server-aeecb72e96e54439f98822467bb727366207039f.tar.gz nextcloud-server-aeecb72e96e54439f98822467bb727366207039f.zip |
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r-- | apps/settings/lib/SetupChecks/CheckUserCertificates.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/settings/lib/SetupChecks/CheckUserCertificates.php b/apps/settings/lib/SetupChecks/CheckUserCertificates.php index eff5b4d7515..52fea7b6551 100644 --- a/apps/settings/lib/SetupChecks/CheckUserCertificates.php +++ b/apps/settings/lib/SetupChecks/CheckUserCertificates.php @@ -39,10 +39,7 @@ class CheckUserCertificates { public function __construct(IL10N $l10n, IConfig $config, IURLGenerator $urlGenerator) { $this->l10n = $l10n; - $configValue = $config->getAppValue('files_external', 'user_certificate_scan', false); - if (!is_string($configValue)) { - $configValue = ''; - } + $configValue = $config->getAppValue('files_external', 'user_certificate_scan', ''); $this->configValue = $configValue; $this->urlGenerator = $urlGenerator; } |