@@ -72,8 +72,7 @@ |
||
72 | 72 | |
73 | 73 | if ($isActive) { |
74 | 74 | $templatePath = !$templateIdentifier && $cmsBlockTransfer->getCmsBlockTemplate() ? |
75 | - $cmsBlockTransfer->getCmsBlockTemplate()->getTemplatePath() : |
|
76 | - $this->resolveTemplatePath($templateIdentifier); |
|
75 | + $cmsBlockTransfer->getCmsBlockTemplate()->getTemplatePath() : $this->resolveTemplatePath($templateIdentifier); |
|
77 | 76 | |
78 | 77 | $rendered .= $twig->render($templatePath, [ |
79 | 78 | 'placeholders' => $this->getPlaceholders($cmsBlockTransfer), |
@@ -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 | ]; |
@@ -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 | ]; |
@@ -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 | ]; |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | $productOfferStockTransfer->fromArray($productOfferStockEntity->toArray(), true); |
41 | 41 | |
42 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productOfferStockEntity): void { |
|
42 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productOfferStockEntity): void { |
|
43 | 43 | $productOfferStockEntity->delete(); |
44 | 44 | }); |
45 | 45 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | $productOfferValidityEntity->setFkProductOffer($productOfferValidityTransfer->getIdProductOffer()); |
33 | 33 | $productOfferValidityEntity->save(); |
34 | 34 | |
35 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productOfferValidityEntity): void { |
|
35 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productOfferValidityEntity): void { |
|
36 | 36 | $productOfferValidityEntity->delete(); |
37 | 37 | }); |
38 | 38 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | $merchantUserEntity->save(); |
34 | 34 | |
35 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($merchantUserEntity): void { |
|
35 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($merchantUserEntity): void { |
|
36 | 36 | $merchantUserEntity->delete(); |
37 | 37 | }); |
38 | 38 |
@@ -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 |