@@ -18,7 +18,7 @@ |
||
| 18 | 18 | $productControllerService = $container->getDefinition('flagbit_product_cloner.controller.product'); |
| 19 | 19 | |
| 20 | 20 | foreach ($productControllerService->getArguments() as $key => $argument) { |
| 21 | - if ((string)$argument === 'pim_catalog.builder.variant_product') { |
|
| 21 | + if ((string) $argument === 'pim_catalog.builder.variant_product') { |
|
| 22 | 22 | $productControllerService->setArgument($key, new Reference('pim_catalog.builder.product')); |
| 23 | 23 | } |
| 24 | 24 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | unset($normalizedProduct['values'][$attributeCode]); |
| 32 | 32 | } |
| 33 | 33 | unset($normalizedProduct['identifier']); |
| 34 | - if (empty((array)$normalizedProduct['associations'])) { |
|
| 34 | + if (empty((array) $normalizedProduct['associations'])) { |
|
| 35 | 35 | unset($normalizedProduct['associations']); |
| 36 | 36 | } |
| 37 | 37 | |