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

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