@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | use Oro\Bundle\ProductBundle\EventListener\ScopedProductSearchQueryRestrictionEventListener; |
| 10 | 10 | |
| 11 | 11 | class ScopedProductSearchQueryRestrictionEventListenerTest extends |
| 12 | - AbstractProductSearchQueryRestrictionEventListenerTest |
|
| 12 | + AbstractProductSearchQueryRestrictionEventListenerTest |
|
| 13 | 13 | { |
| 14 | 14 | const SCOPE = 'test_scope'; |
| 15 | 15 | |
@@ -251,7 +251,7 @@ |
||
| 251 | 251 | $storage = $this->getMockBuilder(UrlDataStorage::class) |
| 252 | 252 | ->disableOriginalConstructor() |
| 253 | 253 | ->getMock(); |
| 254 | - /** @var UrlDataStorage|\PHPUnit_Framework_MockObject_MockObject $oldStorage */ |
|
| 254 | + /** @var UrlDataStorage|\PHPUnit_Framework_MockObject_MockObject $oldStorage */ |
|
| 255 | 255 | $oldStorage = $this->getMockBuilder(UrlDataStorage::class) |
| 256 | 256 | ->disableOriginalConstructor() |
| 257 | 257 | ->getMock(); |
@@ -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 | } |