protected function checkValueStructure(BaseValue $value)
{
if (!is_array($value->destinationContentIds)) {
throw new InvalidArgumentType('$value->destinationContentIds', 'array', $value->destinationContentIds);
}
foreach ($value->destinationContentIds as $key => $destinationContentId) {
if (!is_integer($destinationContentId) && !is_string($destinationContentId)) {
throw new InvalidArgumentType("\$value->destinationContentIds[{$key}]", 'string|int', $destinationContentId);
}
}
}