aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppConfig.php
diff options
context:
space:
mode:
authorHamid Dehnavi <hamid.dev.pro@gmail.com>2023-07-07 13:43:21 +0330
committerHamid Dehnavi <hamid.dev.pro@gmail.com>2023-09-28 17:44:19 +0330
commitea06cf2f39c5c4e7f1ea20d075c01e3ba0cc6dd0 (patch)
tree91e5cd5b937877bcc6aafac1c7cff24e6f1589a2 /lib/private/AppConfig.php
parent45cac164322d6ce4d10db07b9207b7079694e2a4 (diff)
downloadnextcloud-server-ea06cf2f39c5c4e7f1ea20d075c01e3ba0cc6dd0.tar.gz
nextcloud-server-ea06cf2f39c5c4e7f1ea20d075c01e3ba0cc6dd0.zip
Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Diffstat (limited to 'lib/private/AppConfig.php')
-rw-r--r--lib/private/AppConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php
index 84f0d5b9e5a..79c650705b2 100644
--- a/lib/private/AppConfig.php
+++ b/lib/private/AppConfig.php
@@ -373,7 +373,7 @@ class AppConfig implements IAppConfig {
} else {
$appIds = $this->getApps();
$values = array_map(function ($appId) use ($key) {
- return isset($this->cache[$appId][$key]) ? $this->cache[$appId][$key] : null;
+ return $this->cache[$appId][$key] ?? null;
}, $appIds);
$result = array_combine($appIds, $values);