@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | protected function installLocales() |
50 | 50 | { |
51 | - $this->getTransactionHandler()->handleTransaction(function (): void { |
|
51 | + $this->getTransactionHandler()->handleTransaction(function(): void { |
|
52 | 52 | $this->executeInstallLocalesTransaction(); |
53 | 53 | }); |
54 | 54 | } |
@@ -56,7 +56,7 @@ |
||
56 | 56 | { |
57 | 57 | $this->assertUrlRedirectTransfer($urlRedirectTransfer); |
58 | 58 | |
59 | - return $this->getTransactionHandler()->handleTransaction(function () use ($urlRedirectTransfer): UrlRedirectTransfer { |
|
59 | + return $this->getTransactionHandler()->handleTransaction(function() use ($urlRedirectTransfer): UrlRedirectTransfer { |
|
60 | 60 | return $this->executeCreateUrlTransaction($urlRedirectTransfer); |
61 | 61 | }); |
62 | 62 | } |
@@ -56,7 +56,7 @@ |
||
56 | 56 | { |
57 | 57 | $urlRedirectTransfer->requireIdUrlRedirect(); |
58 | 58 | |
59 | - return $this->getTransactionHandler()->handleTransaction(function () use ($urlRedirectTransfer): UrlRedirectTransfer { |
|
59 | + return $this->getTransactionHandler()->handleTransaction(function() use ($urlRedirectTransfer): UrlRedirectTransfer { |
|
60 | 60 | return $this->executeUpdateUrlRedirectTransaction($urlRedirectTransfer); |
61 | 61 | }); |
62 | 62 | } |
@@ -50,7 +50,7 @@ |
||
50 | 50 | return; |
51 | 51 | } |
52 | 52 | |
53 | - $this->getTransactionHandler()->handleTransaction(function () use ($urlTransfer, $originalUrlTransfer): void { |
|
53 | + $this->getTransactionHandler()->handleTransaction(function() use ($urlTransfer, $originalUrlTransfer): void { |
|
54 | 54 | $this->maintainOutdatedRedirectTargetUrls($urlTransfer, $originalUrlTransfer); |
55 | 55 | }); |
56 | 56 | } |
@@ -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 | } |