@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\ProductGroupBusinessTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $productConcreteTransfer->getIdProductConcrete() |
45 | 45 | )); |
46 | 46 | |
47 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productConcreteTransfer) { |
|
47 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productConcreteTransfer) { |
|
48 | 48 | $this->cleanupProductConcrete($productConcreteTransfer->getIdProductConcrete()); |
49 | 49 | $this->cleanupProductAbstract($productConcreteTransfer->getFkProductAbstract()); |
50 | 50 | }); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $abstractProductId |
70 | 70 | )); |
71 | 71 | |
72 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productAbstractTransfer) { |
|
72 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productAbstractTransfer) { |
|
73 | 73 | $this->cleanupProductAbstract($productAbstractTransfer->getIdProductAbstract()); |
74 | 74 | }); |
75 | 75 |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function addSalesFacade(Container $container) |
67 | 67 | { |
68 | - $container[static::FACADE_SALES] = function (Container $container) { |
|
68 | + $container[static::FACADE_SALES] = function(Container $container) { |
|
69 | 69 | return new RefundToSalesBridge($container->getLocator()->sales()->facade()); |
70 | 70 | }; |
71 | 71 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | protected function addCalculationFacade(Container $container) |
82 | 82 | { |
83 | - $container[static::FACADE_CALCULATION] = function (Container $container) { |
|
83 | + $container[static::FACADE_CALCULATION] = function(Container $container) { |
|
84 | 84 | return new RefundToCalculationBridge($container->getLocator()->calculation()->facade()); |
85 | 85 | }; |
86 | 86 | |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | protected function addItemRefundCalculatorPlugin(Container $container) |
97 | 97 | { |
98 | - $container[static::PLUGIN_ITEM_REFUND_CALCULATOR] = function () { |
|
98 | + $container[static::PLUGIN_ITEM_REFUND_CALCULATOR] = function() { |
|
99 | 99 | return new RefundableItemAmountCalculatorPlugin(); |
100 | 100 | }; |
101 | 101 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | */ |
110 | 110 | protected function addExpenseRefundCalculatorPlugin(Container $container) |
111 | 111 | { |
112 | - $container[static::PLUGIN_EXPENSE_REFUND_CALCULATOR] = function () { |
|
112 | + $container[static::PLUGIN_EXPENSE_REFUND_CALCULATOR] = function() { |
|
113 | 113 | return new RefundableExpenseAmountCalculatorPlugin(); |
114 | 114 | }; |
115 | 115 | |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | protected function addSalesQueryContainer(Container $container) |
125 | 125 | { |
126 | - $container[static::QUERY_CONTAINER_SALES] = function (Container $container) { |
|
126 | + $container[static::QUERY_CONTAINER_SALES] = function(Container $container) { |
|
127 | 127 | return $container->getLocator()->sales()->queryContainer(); |
128 | 128 | }; |
129 | 129 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | protected function addMoneyFacade(Container $container) |
139 | 139 | { |
140 | - $container[static::FACADE_MONEY] = function (Container $container) { |
|
140 | + $container[static::FACADE_MONEY] = function(Container $container) { |
|
141 | 141 | return new RefundToMoneyBridge($container->getLocator()->money()->facade()); |
142 | 142 | }; |
143 | 143 | |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | */ |
152 | 152 | protected function addDateFormatter(Container $container) |
153 | 153 | { |
154 | - $container[static::SERVICE_DATE_TIME] = function (Container $container) { |
|
154 | + $container[static::SERVICE_DATE_TIME] = function(Container $container) { |
|
155 | 155 | return $container->getLocator()->utilDateTime()->service(); |
156 | 156 | }; |
157 | 157 |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | protected function setSessionStorageHandler(Application $application) |
64 | 64 | { |
65 | - $application['session.storage.handler'] = function () { |
|
65 | + $application['session.storage.handler'] = function() { |
|
66 | 66 | return $this->getFactory()->createSessionStorage()->getAndRegisterHandler(); |
67 | 67 | }; |
68 | 68 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | protected function setSessionStorageHandler(Application $application) |
64 | 64 | { |
65 | - $application['session.storage.handler'] = function () { |
|
65 | + $application['session.storage.handler'] = function() { |
|
66 | 66 | return $this->getFactory()->createSessionStorage()->getAndRegisterHandler(); |
67 | 67 | }; |
68 | 68 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | protected function addFileSystemReaderPlugin(Container $container) |
45 | 45 | { |
46 | - $container[static::PLUGIN_READER] = function (Container $container) { |
|
46 | + $container[static::PLUGIN_READER] = function(Container $container) { |
|
47 | 47 | return new FileSystemReaderPlugin(); |
48 | 48 | }; |
49 | 49 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | protected function addFileSystemWriterPlugin(Container $container) |
59 | 59 | { |
60 | - $container[static::PLUGIN_WRITER] = function (Container $container) { |
|
60 | + $container[static::PLUGIN_WRITER] = function(Container $container) { |
|
61 | 61 | return new FileSystemWriterPlugin(); |
62 | 62 | }; |
63 | 63 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | protected function addFileSystemStreamPlugin(Container $container) |
73 | 73 | { |
74 | - $container[static::PLUGIN_STREAM] = function (Container $container) { |
|
74 | + $container[static::PLUGIN_STREAM] = function(Container $container) { |
|
75 | 75 | return new FileSystemStreamPlugin(); |
76 | 76 | }; |
77 | 77 |
@@ -92,7 +92,7 @@ |
||
92 | 92 | */ |
93 | 93 | protected function migrateVersions(SpyCmsVersion $originVersionEntity, SpyCmsVersion $targetVersionEntity, $idCmsPage, $version) |
94 | 94 | { |
95 | - return $this->handleDatabaseTransaction(function () use ($originVersionEntity, $targetVersionEntity, $idCmsPage, $version) { |
|
95 | + return $this->handleDatabaseTransaction(function() use ($originVersionEntity, $targetVersionEntity, $idCmsPage, $version) { |
|
96 | 96 | return $this->executeMigrateVersion($originVersionEntity, $targetVersionEntity, $idCmsPage, $version); |
97 | 97 | }); |
98 | 98 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function migrate($cmsVersionOriginData, $cmsVersionTargetData) |
46 | 46 | { |
47 | - $this->handleDatabaseTransaction(function () use ($cmsVersionOriginData, $cmsVersionTargetData) { |
|
47 | + $this->handleDatabaseTransaction(function() use ($cmsVersionOriginData, $cmsVersionTargetData) { |
|
48 | 48 | $this->executeMigrateTransaction($cmsVersionOriginData, $cmsVersionTargetData); |
49 | 49 | }); |
50 | 50 | } |
@@ -153,7 +153,7 @@ |
||
153 | 153 | */ |
154 | 154 | protected function saveAndTouchCmsVersion($data, $idCmsPage, $versionName, $versionNumber) |
155 | 155 | { |
156 | - return $this->handleDatabaseTransaction(function () use ($data, $idCmsPage, $versionName, $versionNumber) { |
|
156 | + return $this->handleDatabaseTransaction(function() use ($data, $idCmsPage, $versionName, $versionNumber) { |
|
157 | 157 | return $this->executeSaveAndTouchCmsVersionTransaction($data, $idCmsPage, $versionName, $versionNumber); |
158 | 158 | }); |
159 | 159 | } |