@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function handleUrlCreation(UrlTransfer $urlTransfer) |
48 | 48 | { |
49 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): void { |
|
49 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): void { |
|
50 | 50 | $this->handleRedirectInjection($urlTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | return; |
64 | 64 | } |
65 | 65 | |
66 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): void { |
|
66 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): void { |
|
67 | 67 | $this->handleRedirectInjection($urlTransfer); |
68 | 68 | }); |
69 | 69 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function handleUrlCreation(UrlTransfer $urlTransfer) |
48 | 48 | { |
49 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): void { |
|
49 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): void { |
|
50 | 50 | $this->handleRedirectAppend($urlTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | return; |
64 | 64 | } |
65 | 65 | |
66 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): void { |
|
66 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): void { |
|
67 | 67 | $this->handleRedirectAppend($urlTransfer); |
68 | 68 | }); |
69 | 69 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public function deleteUrl(UrlTransfer $urlTransfer) |
61 | 61 | { |
62 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): void { |
|
62 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): void { |
|
63 | 63 | $this->executeDeleteUrlTransaction($urlTransfer); |
64 | 64 | }); |
65 | 65 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function deleteUrlRedirect(UrlRedirectTransfer $urlRedirectTransfer) |
73 | 73 | { |
74 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlRedirectTransfer): void { |
|
74 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlRedirectTransfer): void { |
|
75 | 75 | $this->executeDeleteUrlRedirectTransaction($urlRedirectTransfer); |
76 | 76 | }); |
77 | 77 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | { |
56 | 56 | $this->assertUrlTransferForUpdate($urlTransfer); |
57 | 57 | |
58 | - return $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): UrlTransfer { |
|
58 | + return $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): UrlTransfer { |
|
59 | 59 | return $this->executeUpdateUrlTransaction($urlTransfer); |
60 | 60 | }); |
61 | 61 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | { |
53 | 53 | $this->assertUrlTransferForCreate($urlTransfer); |
54 | 54 | |
55 | - return $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer): UrlTransfer { |
|
55 | + return $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer): UrlTransfer { |
|
56 | 56 | return $this->executeCreateUrlTransaction($urlTransfer); |
57 | 57 | }); |
58 | 58 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | $productConcreteTransfer->requireIdProductConcrete(); |
47 | 47 | |
48 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productConcreteTransfer): ProductConcreteTransfer { |
|
48 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productConcreteTransfer): ProductConcreteTransfer { |
|
49 | 49 | return $this->executePersistProductSearchTransaction($productConcreteTransfer); |
50 | 50 | }); |
51 | 51 | } |
@@ -240,7 +240,7 @@ |
||
240 | 240 | $uniquePlaceholder = $placeholder . '-' . $pageTransfer->getIdCmsPage(); |
241 | 241 | $keyName = $this->generateGlossaryKeyName($template->getTemplateName(), $uniquePlaceholder, $autoGlossaryKeyIncrement); |
242 | 242 | |
243 | - return $this->getTransactionHandler()->handleTransaction(function () use ($pageTransfer, $placeholder, $keyName, $value, $localeTransfer): PageKeyMappingTransfer { |
|
243 | + return $this->getTransactionHandler()->handleTransaction(function() use ($pageTransfer, $placeholder, $keyName, $value, $localeTransfer): PageKeyMappingTransfer { |
|
244 | 244 | return $this->executeAddPlaceholderTextTransaction($pageTransfer, $placeholder, $keyName, $value, $localeTransfer); |
245 | 245 | }); |
246 | 246 | } |
@@ -328,7 +328,7 @@ |
||
328 | 328 | */ |
329 | 329 | public function savePageUrlAndTouch(PageTransfer $pageTransfer): UrlTransfer |
330 | 330 | { |
331 | - return $this->getTransactionHandler()->handleTransaction(function (PageTransfer $pageTransfer): UrlTransfer { |
|
331 | + return $this->getTransactionHandler()->handleTransaction(function(PageTransfer $pageTransfer): UrlTransfer { |
|
332 | 332 | return $this->executeSavePageUrlAndTouchTransaction($pageTransfer); |
333 | 333 | }); |
334 | 334 | } |
@@ -241,7 +241,7 @@ |
||
241 | 241 | */ |
242 | 242 | public function saveProductImageSet(ProductImageSetTransfer $productImageSetTransfer) |
243 | 243 | { |
244 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productImageSetTransfer): ProductImageSetTransfer { |
|
244 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productImageSetTransfer): ProductImageSetTransfer { |
|
245 | 245 | return $this->executeSaveProductImageSetTransaction($productImageSetTransfer); |
246 | 246 | }); |
247 | 247 | } |