Fixed alternative attribute parsing bug in FromXmlService
This commit is contained in:
@@ -394,7 +394,7 @@ class FromXmlService
|
|||||||
return new Signal(
|
return new Signal(
|
||||||
$attributes['name'] ?? null,
|
$attributes['name'] ?? null,
|
||||||
$attributes['pad-key'] ?? null,
|
$attributes['pad-key'] ?? null,
|
||||||
isset($attributes['alternative']) ? (bool) $attributes['alternative'] : null,
|
isset($attributes['alternative']) ? trim($attributes['alternative']) === 'true' : null,
|
||||||
$this->stringService->tryStringToInt($attributes['index'] ?? null),
|
$this->stringService->tryStringToInt($attributes['index'] ?? null),
|
||||||
$attributes['function'] ?? null,
|
$attributes['function'] ?? null,
|
||||||
$attributes['field'] ?? null
|
$attributes['field'] ?? null
|
||||||
|
|||||||
Reference in New Issue
Block a user