Apply suggestions

This commit is contained in:
Philipp 2023-01-03 17:24:05 +01:00
parent 072464119a
commit b439df892a
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
14 changed files with 69 additions and 66 deletions

View file

@ -332,10 +332,8 @@ class Cache
$keys = array_keys($cache->config[$category]);
foreach ($keys as $key) {
if (!is_null($newConfig[$category][$key] ?? null)) {
unset($newConfig[$category][$key]);
unset($newSource[$category][$key]);
}
unset($newConfig[$category][$key]);
unset($newSource[$category][$key]);
}
}
}