From a512e618e50fe4878e4941004f93266cbc3e021f Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Fri, 25 Oct 2024 08:56:09 +0200 Subject: [PATCH] chore: grrrr phpcs, almost there --- EMS/core-bundle/src/Form/DataField/AssetFieldType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/EMS/core-bundle/src/Form/DataField/AssetFieldType.php b/EMS/core-bundle/src/Form/DataField/AssetFieldType.php index 815f9a26c..9685ea778 100644 --- a/EMS/core-bundle/src/Form/DataField/AssetFieldType.php +++ b/EMS/core-bundle/src/Form/DataField/AssetFieldType.php @@ -148,6 +148,7 @@ public function buildView(FormView $view, FormInterface $form, array $options): public function generateMapping(FieldType $current): array { $mapping = parent::generateMapping($current); + return [ $current->getName() => \array_merge([ 'type' => 'nested',