refactor naming & superfluous check

This commit is contained in:
Philipp Holzer 2019-03-17 09:57:34 +01:00
parent 8c6e6b5dea
commit b22ff7419e
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 7 additions and 7 deletions

View file

@ -30,7 +30,7 @@ class ConfigCache implements IConfigCache, IPConfigCache
$categories = array_keys($config);
foreach ($categories as $category) {
if (isset($config[$category]) && is_array($config[$category])) {
if (is_array($config[$category])) {
$keys = array_keys($config[$category]);
foreach ($keys as $key) {