@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\SessionTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\SessionTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -193,12 +193,12 @@ |
||
193 | 193 | public function querySalesOrderDetails($idSalesOrder) |
194 | 194 | { |
195 | 195 | $query = $this->getFactory()->createSalesOrderQuery() |
196 | - ->setModelAlias('order') |
|
197 | - ->filterByIdSalesOrder($idSalesOrder) |
|
198 | - ->innerJoinWith('order.BillingAddress billingAddress') |
|
199 | - ->innerJoinWith('billingAddress.Country billingCountry') |
|
200 | - ->innerJoinWith('order.ShippingAddress shippingAddress') |
|
201 | - ->innerJoinWith('shippingAddress.Country shippingCountry'); |
|
196 | + ->setModelAlias('order') |
|
197 | + ->filterByIdSalesOrder($idSalesOrder) |
|
198 | + ->innerJoinWith('order.BillingAddress billingAddress') |
|
199 | + ->innerJoinWith('billingAddress.Country billingCountry') |
|
200 | + ->innerJoinWith('order.ShippingAddress shippingAddress') |
|
201 | + ->innerJoinWith('shippingAddress.Country shippingCountry'); |
|
202 | 202 | |
203 | 203 | return $query; |
204 | 204 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function reorderProductSets(array $productSetTransfers) |
46 | 46 | { |
47 | - $this->handleDatabaseTransaction(function () use ($productSetTransfers) { |
|
47 | + $this->handleDatabaseTransaction(function() use ($productSetTransfers) { |
|
48 | 48 | $this->executeReorderProductSetsTransaction($productSetTransfers); |
49 | 49 | }); |
50 | 50 | } |
@@ -72,7 +72,7 @@ |
||
72 | 72 | $customerTransfer->requireIdCustomer(); |
73 | 73 | $customerTransfer = $this->getCustomer($customerTransfer); |
74 | 74 | |
75 | - $this->handleDatabaseTransaction(function () use ($customerTransfer) { |
|
75 | + $this->handleDatabaseTransaction(function() use ($customerTransfer) { |
|
76 | 76 | $this->processTransaction($customerTransfer); |
77 | 77 | }); |
78 | 78 | } |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function provideBusinessLayerDependencies(Container $container) |
27 | 27 | { |
28 | - $container[self::FACADE_PRODUCT_IMAGE] = function (Container $container) { |
|
28 | + $container[self::FACADE_PRODUCT_IMAGE] = function(Container $container) { |
|
29 | 29 | return new ProductImageCartConnectorToProductImageBridge($container->getLocator()->productImage()->facade()); |
30 | 30 | }; |
31 | 31 |
@@ -131,14 +131,14 @@ |
||
131 | 131 | $builder |
132 | 132 | ->get($fieldName) |
133 | 133 | ->addModelTransformer(new CallbackTransformer( |
134 | - function (array $idsProductAbstractAsArray) { |
|
134 | + function(array $idsProductAbstractAsArray) { |
|
135 | 135 | if (!count($idsProductAbstractAsArray)) { |
136 | 136 | return []; |
137 | 137 | } |
138 | 138 | |
139 | 139 | return implode(',', $idsProductAbstractAsArray); |
140 | 140 | }, |
141 | - function ($idsProductAbstractAsCsv) { |
|
141 | + function($idsProductAbstractAsCsv) { |
|
142 | 142 | if (empty($idsProductAbstractAsCsv)) { |
143 | 143 | return []; |
144 | 144 | } |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | protected function addCollectorFacade(Container $container) |
49 | 49 | { |
50 | - $container[static::FACADE_COLLECTOR] = function (Container $container) { |
|
50 | + $container[static::FACADE_COLLECTOR] = function(Container $container) { |
|
51 | 51 | return new ProductSetCollectorToCollectorBridge($container->getLocator()->collector()->facade()); |
52 | 52 | }; |
53 | 53 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | protected function addSearchFacade(Container $container) |
61 | 61 | { |
62 | - $container[static::FACADE_SEARCH] = function (Container $container) { |
|
62 | + $container[static::FACADE_SEARCH] = function(Container $container) { |
|
63 | 63 | return new ProductSetCollectorToSearchBridge($container->getLocator()->search()->facade()); |
64 | 64 | }; |
65 | 65 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | protected function addProductSetFacade(Container $container) |
73 | 73 | { |
74 | - $container[static::FACADE_PRODUCT_SET] = function (Container $container) { |
|
74 | + $container[static::FACADE_PRODUCT_SET] = function(Container $container) { |
|
75 | 75 | return new ProductSetCollectorToProductSetBridge($container->getLocator()->productSet()->facade()); |
76 | 76 | }; |
77 | 77 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | */ |
84 | 84 | protected function addDataReaderService(Container $container) |
85 | 85 | { |
86 | - $container[static::SERVICE_DATA_READER] = function (Container $container) { |
|
86 | + $container[static::SERVICE_DATA_READER] = function(Container $container) { |
|
87 | 87 | return $container->getLocator()->utilDataReader()->service(); |
88 | 88 | }; |
89 | 89 | } |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | protected function addTouchQueryContainer(Container $container) |
97 | 97 | { |
98 | - $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) { |
|
98 | + $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) { |
|
99 | 99 | return $container->getLocator()->touch()->queryContainer(); |
100 | 100 | }; |
101 | 101 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | public function configureOptions(OptionsResolver $resolver) |
49 | 49 | { |
50 | 50 | $resolver->setDefaults([ |
51 | - 'validation_groups' => function (FormInterface $form) { |
|
51 | + 'validation_groups' => function(FormInterface $form) { |
|
52 | 52 | $originalUrl = $form->getData()[static::FIELD_ORIGINAL_URL]; |
53 | 53 | $updatedUrl = $form->getData()[static::FIELD_URL]; |
54 | 54 |