@@ -48,7 +48,7 @@ |
||
48 | 48 | { |
49 | 49 | $this->assertProductGroupForExtension($productGroupTransfer); |
50 | 50 | |
51 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
51 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
52 | 52 | return $this->executeExtendProductGroupTransaction($productGroupTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | { |
49 | 49 | $this->assertProductGroupForUpdate($productGroupTransfer); |
50 | 50 | |
51 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
51 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
52 | 52 | return $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | { |
63 | 63 | $this->assertProductGroupForUpdate($productGroupTransfer); |
64 | 64 | |
65 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
65 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
66 | 66 | return $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
67 | 67 | }); |
68 | 68 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | return $productGroupTransfer; |
44 | 44 | } |
45 | 45 | |
46 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
46 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
47 | 47 | return $this->executeCreateProductGroupTransaction($productGroupTransfer); |
48 | 48 | }); |
49 | 49 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | { |
49 | 49 | $this->assertProductGroupForExtension($productGroupTransfer); |
50 | 50 | |
51 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
51 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
52 | 52 | return $this->executeRemoveFromProductGroupTransaction($productGroupTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -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 | } |
@@ -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 |