Typo correction

This commit is contained in:
Nav
2024-02-12 19:39:21 +00:00
parent 8474867563
commit 4b6e21e43f
11 changed files with 80 additions and 80 deletions

View File

@@ -30,10 +30,10 @@ class Module
$keys = explode('.', $keys);
}
$firstLevelSubGroupId = array_shift($keys);
$firstLevelSubgroupKey = array_shift($keys);
foreach ($this->registerGroups as $registerGroup) {
if ($registerGroup->key === $firstLevelSubGroupId) {
return !empty($keys) ? $registerGroup->getSubGroup($keys) : $registerGroup;
if ($registerGroup->key === $firstLevelSubgroupKey) {
return !empty($keys) ? $registerGroup->getSubgroup($keys) : $registerGroup;
}
}