|
@@ -208,7 +208,7 @@ discard block |
|
|
block discarded – undo |
|
208
|
208
|
protected function addConnectionFormatDynamicSubFormListener(FormBuilderInterface $builder): void |
|
209
|
209
|
{ |
|
210
|
210
|
$connectionFormatSubFormTypes = static::OPTION_CONNECTION_FORMAT_SUB_FORM_TYPES; |
|
211
|
|
- $formModificationCallback = function (FormEvent $event) use ($connectionFormatSubFormTypes) { |
|
|
211
|
+ $formModificationCallback = function(FormEvent $event) use ($connectionFormatSubFormTypes) { |
|
212
|
212
|
$format = $event->getData()[PunchoutCatalogConnectionTransfer::FORMAT] ?? null; |
|
213
|
213
|
|
|
214
|
214
|
if (!$format) { |
|
@@ -234,7 +234,7 @@ discard block |
|
|
block discarded – undo |
|
234
|
234
|
protected function addConnectionTypeDynamicSubFormListener(FormBuilderInterface $builder): void |
|
235
|
235
|
{ |
|
236
|
236
|
$connectionTypeSubFormTypes = static::OPTION_CONNECTION_TYPE_SUB_FORM_TYPES; |
|
237
|
|
- $formModificationCallback = function (FormEvent $event) use ($connectionTypeSubFormTypes) { |
|
|
237
|
+ $formModificationCallback = function(FormEvent $event) use ($connectionTypeSubFormTypes) { |
|
238
|
238
|
$type = $event->getData()[PunchoutCatalogConnectionTransfer::TYPE] ?? null; |
|
239
|
239
|
|
|
240
|
240
|
if (!$type) { |
Please login to merge, or discard this patch.