Completed
Branch 3.0 (18257b)
by Antonio
13:24
created
src/DependencyInjection/Compiler/LegacyServicePass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Controller/AbstractController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.