@@ -251,10 +251,10 @@ |
||
251 | 251 | ); |
252 | 252 | $table->addIndex( |
253 | 253 | ['combined_price_list_id', |
254 | - 'product_id', |
|
255 | - 'unit_code', |
|
256 | - 'quantity', |
|
257 | - 'currency'], |
|
254 | + 'product_id', |
|
255 | + 'unit_code', |
|
256 | + 'quantity', |
|
257 | + 'currency'], |
|
258 | 258 | 'oro_combined_price_idx' |
259 | 259 | ); |
260 | 260 | $table->addIndex( |
@@ -171,10 +171,10 @@ |
||
171 | 171 | $expected[$product->getId()] = [ |
172 | 172 | 'category_id' => [ |
173 | 173 | ['value' => 555, 'all_text' => false], |
174 | - ], |
|
174 | + ], |
|
175 | 175 | 'category_path' => [ |
176 | 176 | ['value' => '1_555', 'all_text' => false], |
177 | - ], |
|
177 | + ], |
|
178 | 178 | 'category_path_' . CategoryPathPlaceholder::NAME => [ |
179 | 179 | [ |
180 | 180 | 'value' => new PlaceholderValue(1, [CategoryPathPlaceholder::NAME => '1']), |
@@ -27,7 +27,6 @@ |
||
27 | 27 | * @method removeProduct(Product $value) |
28 | 28 | * @method ArrayCollection getProducts() |
29 | 29 | * @method addProduct(Product $value) |
30 | - |
|
31 | 30 | */ |
32 | 31 | class ExtendCategory |
33 | 32 | { |
@@ -55,10 +55,10 @@ |
||
55 | 55 | 'unit_disabled', |
56 | 56 | ProductUnitSelectType::NAME, |
57 | 57 | [ |
58 | - 'compact' => $options['compact'], |
|
59 | - 'disabled' => $disabled, |
|
60 | - 'mapped' => false, |
|
61 | - 'data' => $unitPrecision->getUnit() |
|
58 | + 'compact' => $options['compact'], |
|
59 | + 'disabled' => $disabled, |
|
60 | + 'mapped' => false, |
|
61 | + 'data' => $unitPrecision->getUnit() |
|
62 | 62 | ] |
63 | 63 | ); |
64 | 64 |
@@ -305,7 +305,7 @@ |
||
305 | 305 | ); |
306 | 306 | |
307 | 307 | $qb->where($qb->expr()->eq('pi.product', ':product_id')) |
308 | - ->setParameter('product_id', $productId); |
|
308 | + ->setParameter('product_id', $productId); |
|
309 | 309 | |
310 | 310 | return $qb->getQuery()->execute(); |
311 | 311 | } |
@@ -90,8 +90,8 @@ |
||
90 | 90 | [self::USER_CURRENCY_PARAMETER] |
91 | 91 | ); |
92 | 92 | $event->getDatagrid() |
93 | - ->getParameters() |
|
94 | - ->set(self::USER_CURRENCY_PARAMETER, $this->currencyManager->getUserCurrency()); |
|
93 | + ->getParameters() |
|
94 | + ->set(self::USER_CURRENCY_PARAMETER, $this->currencyManager->getUserCurrency()); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
@@ -73,6 +73,6 @@ |
||
73 | 73 | ->setSubtotal($price->getValue() * $lineItem->getQuantity()) |
74 | 74 | ] |
75 | 75 | ] |
76 | - ]; |
|
76 | + ]; |
|
77 | 77 | } |
78 | 78 | } |
@@ -105,6 +105,6 @@ |
||
105 | 105 | ->setSourceLineItem($lineItem) |
106 | 106 | ->setSubtotal(0)] |
107 | 107 | ], |
108 | - ]; |
|
108 | + ]; |
|
109 | 109 | } |
110 | 110 | } |
@@ -223,7 +223,7 @@ |
||
223 | 223 | ->willReturn([ |
224 | 224 | [Item::class], |
225 | 225 | [self::WEBSITE_ID] |
226 | - ]); |
|
226 | + ]); |
|
227 | 227 | |
228 | 228 | $this->messageProducer->expects($this->atLeastOnce()) |
229 | 229 | ->method('send') |