|
{%- import '../../macroses/common.utils.twig' as utils -%}
|
|
|
|
{%- if fields is not empty -%}
|
|
{%- for field in fields -%}
|
|
{{ field.name }}: {{ utils.formatValueType(field.type.type) }}? = nil{%- if not (loop.last) %}, {% endif %}
|
|
{%- endfor -%}
|
|
{%- endif -%} |