Tidying
This commit is contained in:
@@ -240,10 +240,10 @@ class TargetDescriptionFile
|
|||||||
public function getTargetRegister(
|
public function getTargetRegister(
|
||||||
string $peripheralKey,
|
string $peripheralKey,
|
||||||
array|string $groupKeys,
|
array|string $groupKeys,
|
||||||
array|string $registerKeys
|
array|string $registerKey
|
||||||
): ?TargetRegister {
|
): ?TargetRegister {
|
||||||
return ($peripheral = $this->getPeripheral($peripheralKey)) instanceof Peripheral
|
return ($peripheral = $this->getPeripheral($peripheralKey)) instanceof Peripheral
|
||||||
? $this->targetPeripheralFromPeripheral($peripheral)->getRegister($groupKeys, $registerKeys)
|
? $this->targetPeripheralFromPeripheral($peripheral)->getRegister($groupKeys, $registerKey)
|
||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user