@@ -58,7 +58,7 @@ |
||
58 | 58 | $productOfferStoreEntity->setFkStore($storeTransfer->getIdStore()); |
59 | 59 | $productOfferStoreEntity->save(); |
60 | 60 | |
61 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productOfferStoreEntity): void { |
|
61 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productOfferStoreEntity): void { |
|
62 | 62 | $productOfferStoreEntity->delete(); |
63 | 63 | }); |
64 | 64 |
@@ -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 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addShopContextExpanderPlugins(Container $container): Container |
37 | 37 | { |
38 | - $container->set(static::PLUGINS_SHOP_CONTEXT_EXPANDER, function () { |
|
38 | + $container->set(static::PLUGINS_SHOP_CONTEXT_EXPANDER, function() { |
|
39 | 39 | return $this->getShopContextExpanderPlugins(); |
40 | 40 | }); |
41 | 41 |
@@ -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(); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addShopContextExpanderPlugins(Container $container): Container |
37 | 37 | { |
38 | - $container->set(static::PLUGINS_SHOP_CONTEXT_EXPANDER, function () { |
|
38 | + $container->set(static::PLUGINS_SHOP_CONTEXT_EXPANDER, function() { |
|
39 | 39 | return $this->getShopContextExpanderPlugins(); |
40 | 40 | }); |
41 | 41 |