private static function determineActualValueToAssign($propertyMeta, $value)
    {
        if ($propertyMeta->repeatable && is_array($value)) {
            $values = [];
            foreach ($value as $val) {
                $values[] = self::actualValue($propertyMeta, $val);
            }
            return $values;
        }

        return self::actualValue($propertyMeta, $value);
    }
private static function determineActualValueToAssign($propertyMeta, $value)
    {
        if ($propertyMeta->repeatable && is_array($value)) {
            $values = [];
            foreach ($value as $val) {
                $values[] = self::actualValue($propertyMeta, $val);
            }
            return $values;
        }

        return self::actualValue($propertyMeta, $value);
    }
@param \stdClass $propertyMeta The metadata for the property.
@param mixed $value The property value.

@return mixed