@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void |
46 | 46 | { |
47 | - $this->getTransactionHandler()->handleTransaction(function () use ($targetVersionDataTransfer) { |
|
47 | + $this->getTransactionHandler()->handleTransaction(function() use ($targetVersionDataTransfer) { |
|
48 | 48 | $this->executeMigrateTransaction($targetVersionDataTransfer); |
49 | 49 | }); |
50 | 50 | } |
@@ -91,7 +91,7 @@ |
||
91 | 91 | */ |
92 | 92 | protected function migrateVersions(SpyCmsVersion $originVersionEntity, SpyCmsVersion $targetVersionEntity, int $idCmsPage, int $version): CmsVersionTransfer |
93 | 93 | { |
94 | - return $this->getTransactionHandler()->handleTransaction(function () use ($originVersionEntity, $targetVersionEntity, $idCmsPage, $version) { |
|
94 | + return $this->getTransactionHandler()->handleTransaction(function() use ($originVersionEntity, $targetVersionEntity, $idCmsPage, $version) { |
|
95 | 95 | return $this->executeMigrateVersion($originVersionEntity, $targetVersionEntity, $idCmsPage, $version); |
96 | 96 | }); |
97 | 97 | } |
@@ -106,7 +106,7 @@ |
||
106 | 106 | */ |
107 | 107 | protected function saveAndTouchCmsVersion(string $data, int $idCmsPage, string $versionName, int $versionNumber): CmsVersionTransfer |
108 | 108 | { |
109 | - return $this->getTransactionHandler()->handleTransaction(function () use ($data, $idCmsPage, $versionName, $versionNumber) { |
|
109 | + return $this->getTransactionHandler()->handleTransaction(function() use ($data, $idCmsPage, $versionName, $versionNumber) { |
|
110 | 110 | return $this->executeSaveAndTouchCmsVersionTransaction($data, $idCmsPage, $versionName, $versionNumber); |
111 | 111 | }); |
112 | 112 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | */ |
56 | 56 | protected function getIdStores(ArrayObject $relatedStores): array |
57 | 57 | { |
58 | - return array_map(function (StoreTransfer $storeTransfer) { |
|
58 | + return array_map(function(StoreTransfer $storeTransfer) { |
|
59 | 59 | return $storeTransfer->getIdStore(); |
60 | 60 | }, $relatedStores->getArrayCopy()); |
61 | 61 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | public function migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void |
47 | 47 | { |
48 | - $this->getTransactionHandler()->handleTransaction(function () use ($originVersionDataTransfer, $targetVersionDataTransfer) { |
|
48 | + $this->getTransactionHandler()->handleTransaction(function() use ($originVersionDataTransfer, $targetVersionDataTransfer) { |
|
49 | 49 | $this->executeMigrateTransaction($originVersionDataTransfer, $targetVersionDataTransfer); |
50 | 50 | }); |
51 | 51 | } |
@@ -134,9 +134,9 @@ |
||
134 | 134 | return $this->zedClient->getSuccessStatusMessages(); |
135 | 135 | } |
136 | 136 | |
137 | - /** |
|
138 | - * @return void |
|
139 | - */ |
|
137 | + /** |
|
138 | + * @return void |
|
139 | + */ |
|
140 | 140 | protected function pushResponseErrorMessagesToMessenger(): void |
141 | 141 | { |
142 | 142 | foreach ($this->getResponsesErrorMessages() as $errorMessage) { |
@@ -62,10 +62,10 @@ |
||
62 | 62 | { |
63 | 63 | $utilEncodingService = $this->getMockBuilder(SynchronizationToUtilEncodingServiceInterface::class)->getMock(); |
64 | 64 | |
65 | - $utilEncodingService->method('decodeJson')->willReturnCallback(function ($jsonValue, $assoc, $depth = null, $options = null) { |
|
65 | + $utilEncodingService->method('decodeJson')->willReturnCallback(function($jsonValue, $assoc, $depth = null, $options = null) { |
|
66 | 66 | return json_decode($jsonValue, $assoc); |
67 | 67 | }); |
68 | - $utilEncodingService->method('encodeJson')->willReturnCallback(function ($array) { |
|
68 | + $utilEncodingService->method('encodeJson')->willReturnCallback(function($array) { |
|
69 | 69 | return json_encode($array); |
70 | 70 | }); |
71 | 71 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $productConcretePageSearchTransfers = $this->productConcretePageSearchReader->getProductConcretePageSearchTransfersByProductAbstractStoreMap($productAbstractStoreMap); |
48 | 48 | |
49 | - $this->getTransactionHandler()->handleTransaction(function () use ($productConcretePageSearchTransfers) { |
|
49 | + $this->getTransactionHandler()->handleTransaction(function() use ($productConcretePageSearchTransfers) { |
|
50 | 50 | $this->executeUnpublishTransaction($productConcretePageSearchTransfers); |
51 | 51 | }); |
52 | 52 | } |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function createQuoteApproval(QuoteApprovalRequestTransfer $quoteApprovalRequestTransfer): QuoteApprovalResponseTransfer |
80 | 80 | { |
81 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteApprovalRequestTransfer) { |
|
81 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteApprovalRequestTransfer) { |
|
82 | 82 | return $this->executeCreateQuoteApprovalTransaction($quoteApprovalRequestTransfer); |
83 | 83 | }); |
84 | 84 | } |