@@ -52,7 +52,7 @@ |
||
52 | 52 | { |
53 | 53 | parent::tearDown(); |
54 | 54 | |
55 | - $this->getDataCleanupHelper()->_addCleanup(function (): void { |
|
55 | + $this->getDataCleanupHelper()->_addCleanup(function(): void { |
|
56 | 56 | $this->tester->ensureProductOfferStockTableIsEmpty(); |
57 | 57 | }); |
58 | 58 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function provide(ContainerInterface $container): ContainerInterface |
32 | 32 | { |
33 | - $container->set(static::SERVICE_SHOP_CONTEXT, $container->factory(function ($container) { |
|
33 | + $container->set(static::SERVICE_SHOP_CONTEXT, $container->factory(function($container) { |
|
34 | 34 | return $this->getFactory() |
35 | 35 | ->createShopContextProvider() |
36 | 36 | ->provide(); |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function provide(ContainerInterface $container): ContainerInterface |
32 | 32 | { |
33 | - $container->set(static::SERVICE_SHOP_CONTEXT, $container->factory(function ($container) { |
|
33 | + $container->set(static::SERVICE_SHOP_CONTEXT, $container->factory(function($container) { |
|
34 | 34 | return $this->getFactory() |
35 | 35 | ->createShopContextProvider() |
36 | 36 | ->provide(); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | private function cleanupDiscountPromotion(DiscountPromotionTransfer $discountPromotionTransfer): void |
68 | 68 | { |
69 | 69 | $cleanupModule = $this->getDataCleanupHelper(); |
70 | - $cleanupModule->_addCleanup(function () use ($discountPromotionTransfer): void { |
|
70 | + $cleanupModule->_addCleanup(function() use ($discountPromotionTransfer): void { |
|
71 | 71 | $this->debug('Deleting DiscountPromotion: ' . $discountPromotionTransfer->getIdDiscountPromotion()); |
72 | 72 | $this->getDiscountPromotionQuery() |
73 | 73 | ->queryDiscountPromotionByIdDiscountPromotion($discountPromotionTransfer->getIdDiscountPromotion()) |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $discountPromotionTransfer->requireFkDiscount(); |
39 | 39 | |
40 | 40 | return $this->getTransactionHandler() |
41 | - ->handleTransaction(function () use ($discountPromotionTransfer) { |
|
41 | + ->handleTransaction(function() use ($discountPromotionTransfer) { |
|
42 | 42 | return $this->discountPromotionEntityManager->createDiscountPromotion($discountPromotionTransfer); |
43 | 43 | }); |
44 | 44 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $discountPromotionTransfer->requireFkDiscount(); |
39 | 39 | |
40 | 40 | return $this->getTransactionHandler() |
41 | - ->handleTransaction(function () use ($discountPromotionTransfer) { |
|
41 | + ->handleTransaction(function() use ($discountPromotionTransfer) { |
|
42 | 42 | return $this->discountPromotionEntityManager->updateDiscountPromotion($discountPromotionTransfer); |
43 | 43 | }); |
44 | 44 | } |
@@ -301,7 +301,7 @@ |
||
301 | 301 | */ |
302 | 302 | protected function getOrderItemTransfersSortCallback(): Closure |
303 | 303 | { |
304 | - return function (ItemTransfer $itemTransferA, ItemTransfer $itemTransferB) { |
|
304 | + return function(ItemTransfer $itemTransferA, ItemTransfer $itemTransferB) { |
|
305 | 305 | if ($itemTransferA->getShipment() === null || $itemTransferB->getShipment() === null) { |
306 | 306 | return 0; |
307 | 307 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | { |
41 | 41 | parent::setUp(); |
42 | 42 | |
43 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
43 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
44 | 44 | return [ |
45 | 45 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
46 | 46 | ]; |
@@ -257,7 +257,6 @@ |
||
257 | 257 | * {@inheritDoc} |
258 | 258 | * |
259 | 259 | * @api |
260 | - |
|
261 | 260 | * @return \Orm\Zed\PriceProduct\Persistence\SpyPriceProductQuery |
262 | 261 | */ |
263 | 262 | public function queryPriceProduct(): SpyPriceProductQuery |