@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function extend(EventDispatcherInterface $eventDispatcher, ContainerInterface $container): EventDispatcherInterface |
31 | 31 | { |
32 | - $eventDispatcher->addListener(KernelEvents::TERMINATE, function () { |
|
32 | + $eventDispatcher->addListener(KernelEvents::TERMINATE, function() { |
|
33 | 33 | $this->persistClassResolverCache(); |
34 | 34 | }); |
35 | 35 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | $priceProductOfferTransfer->fromArray($priceProductOfferEntity->toArray()); |
40 | 40 | |
41 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($priceProductOfferEntity): void { |
|
41 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($priceProductOfferEntity): void { |
|
42 | 42 | $priceProductOfferEntity->delete(); |
43 | 43 | }); |
44 | 44 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | { |
59 | 59 | parent::tearDown(); |
60 | 60 | |
61 | - $this->getDataCleanupHelper()->_addCleanup(function () { |
|
61 | + $this->getDataCleanupHelper()->_addCleanup(function() { |
|
62 | 62 | $this->tester->ensureProductOfferStockTableIsEmpty(); |
63 | 63 | }); |
64 | 64 | } |
@@ -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 | } |