@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | protected function createGlobalTotalsModeValidationConstraint(): Callback |
218 | 218 | { |
219 | 219 | return new Callback([ |
220 | - 'callback' => function ($dataToValidate, ExecutionContextInterface $context) { |
|
220 | + 'callback' => function($dataToValidate, ExecutionContextInterface $context) { |
|
221 | 221 | $connectionFormat = $context->getRoot() |
222 | 222 | ->get(PunchoutCatalogConnectionTransfer::FORMAT) |
223 | 223 | ->getData(); |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | protected function addConnectionFormatDynamicSubFormListener(FormBuilderInterface $builder): void |
244 | 244 | { |
245 | 245 | $connectionFormatSubFormTypes = static::OPTION_CONNECTION_FORMAT_SUB_FORM_TYPES; |
246 | - $formModificationCallback = function (FormEvent $event) use ($connectionFormatSubFormTypes) { |
|
246 | + $formModificationCallback = function(FormEvent $event) use ($connectionFormatSubFormTypes) { |
|
247 | 247 | $format = $event->getData()[PunchoutCatalogConnectionTransfer::FORMAT] ?? null; |
248 | 248 | |
249 | 249 | if (!$format) { |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | protected function addConnectionTypeDynamicSubFormListener(FormBuilderInterface $builder): void |
270 | 270 | { |
271 | 271 | $connectionTypeSubFormTypes = static::OPTION_CONNECTION_TYPE_SUB_FORM_TYPES; |
272 | - $formModificationCallback = function (FormEvent $event) use ($connectionTypeSubFormTypes) { |
|
272 | + $formModificationCallback = function(FormEvent $event) use ($connectionTypeSubFormTypes) { |
|
273 | 273 | $type = $event->getData()[PunchoutCatalogConnectionTransfer::TYPE] ?? null; |
274 | 274 | |
275 | 275 | if (!$type) { |