@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | //Arrange |
58 | 58 | $container = $this->createContainer(); |
59 | 59 | $eventDispatcherApplicationPlugin = $this->createEventDispatcherApplicationPlugin(); |
60 | - $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) { |
|
60 | + $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) { |
|
61 | 61 | return new SymfonyEventDispatcher(); |
62 | 62 | }); |
63 | 63 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | //Arrange |
78 | 78 | $container = $this->createContainer(); |
79 | 79 | $eventDispatcherApplicationPlugin = $this->createEventDispatcherApplicationPlugin(); |
80 | - $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) { |
|
80 | + $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) { |
|
81 | 81 | $eventDispatcher = new SymfonyEventDispatcher(); |
82 | 82 | |
83 | 83 | $eventDispatcher->addSubscriber($this->createDummyEventSubscriber()); |
@@ -47,7 +47,7 @@ |
||
47 | 47 | protected function getApplicationMock(): Application |
48 | 48 | { |
49 | 49 | $application = new Application(); |
50 | - $application['twig'] = function () { |
|
50 | + $application['twig'] = function() { |
|
51 | 51 | return new Environment(new FilesystemLoader()); |
52 | 52 | }; |
53 | 53 |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public function create(MerchantProfileTransfer $merchantProfileTransfer): MerchantProfileTransfer |
78 | 78 | { |
79 | - $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($merchantProfileTransfer) { |
|
79 | + $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($merchantProfileTransfer) { |
|
80 | 80 | return $this->executeCreateTransaction($merchantProfileTransfer); |
81 | 81 | }); |
82 | 82 | |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | public function update(MerchantProfileTransfer $merchantProfileTransfer): MerchantProfileTransfer |
94 | 94 | { |
95 | - $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($merchantProfileTransfer) { |
|
95 | + $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($merchantProfileTransfer) { |
|
96 | 96 | return $this->executeUpdateTransaction($merchantProfileTransfer); |
97 | 97 | }); |
98 | 98 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $customerGroupFacade = $this->getCustomerGroupFacade(); |
32 | 32 | $customerGroupTransfer = $customerGroupFacade->add($customerGroupTransfer); |
33 | 33 | |
34 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($customerGroupTransfer): void { |
|
34 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($customerGroupTransfer): void { |
|
35 | 35 | $this->cleanupCustomerGroup($customerGroupTransfer->getIdCustomerGroup()); |
36 | 36 | }); |
37 | 37 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function registerCmsBlockStoreRelationFormTypePlugin(): void |
42 | 42 | { |
43 | - $this->setDependency(CmsBlockGuiDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function () { |
|
43 | + $this->setDependency(CmsBlockGuiDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function() { |
|
44 | 44 | return new StoreRelationToggleFormTypePlugin(); |
45 | 45 | }); |
46 | 46 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | $this->deleteProductDiscountedData(); |
25 | 25 | |
26 | - $this->getDataCleanupHelper()->_addCleanup(function (): void { |
|
26 | + $this->getDataCleanupHelper()->_addCleanup(function(): void { |
|
27 | 27 | $this->deleteProductDiscountedData(); |
28 | 28 | }); |
29 | 29 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function registerCmsBlockStoreRelationFormTypePlugin(): void |
42 | 42 | { |
43 | - $this->setDependency(CmsGuiDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function () { |
|
43 | + $this->setDependency(CmsGuiDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function() { |
|
44 | 44 | return new StoreRelationToggleFormTypePlugin(); |
45 | 45 | }); |
46 | 46 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | $merchantRelationshipTransfer = $this->createOrUpdateMerchantRelationship($merchantRelationshipTransfer); |
32 | 32 | |
33 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($merchantRelationshipTransfer): void { |
|
33 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($merchantRelationshipTransfer): void { |
|
34 | 34 | $this->cleanupMerchantRelationship($merchantRelationshipTransfer); |
35 | 35 | }); |
36 | 36 |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $categoryTransfer->addImageSet($categoryImageSetTransfer); |
45 | 45 | $this->getCategoryImageFacade()->createCategoryImageSetsForCategory($categoryTransfer); |
46 | 46 | |
47 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($categoryImageSetTransfer): void { |
|
47 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($categoryImageSetTransfer): void { |
|
48 | 48 | $this->cleanupCategoryImageSet($categoryImageSetTransfer); |
49 | 49 | }); |
50 | 50 |