Skip to content

Commit

Permalink
Merge branch 'release-13.8.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 15, 2024
2 parents 2aab570 + 90824c3 commit b462f7c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/classes/class.Variable.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,13 @@ public static function fromData(array $rawVariable)
throw new \LogicException(sprintf('Unsupported variable type: %s', $rawVariable['type']));
}

if (isset($rawVariable['baseType'])) {
$variable->setBaseType($rawVariable['baseType']);
}

return $variable
->setIdentifier($rawVariable['identifier'])
->setCardinality($rawVariable['cardinality'])
->setBaseType($rawVariable['baseType'])
->setEpoch($rawVariable['epoch']);
}

Expand Down

0 comments on commit b462f7c

Please sign in to comment.