@@ -56,7 +56,7 @@ |
||
56 | 56 | */ |
57 | 57 | public function updateProductSet(ProductSetTransfer $productSetTransfer) |
58 | 58 | { |
59 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
59 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
60 | 60 | return $this->executeUpdateProductSetTransaction($productSetTransfer); |
61 | 61 | }); |
62 | 62 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->assertProductSetForExtension($productSetTransfer); |
49 | 49 | |
50 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
50 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
51 | 51 | return $this->executeExtendProductSetTransaction($productSetTransfer); |
52 | 52 | }); |
53 | 53 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function createProductSet(ProductSetTransfer $productSetTransfer) |
48 | 48 | { |
49 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
49 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
50 | 50 | return $this->executeCreateProductSetTransaction($productSetTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->assertProductSetForExtension($productSetTransfer); |
49 | 49 | |
50 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
50 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
51 | 51 | return $this->executeRemoveFromProductSetTransaction($productSetTransfer); |
52 | 52 | }); |
53 | 53 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | protected function addFlysystemPluginCollection($container) |
38 | 38 | { |
39 | - $container[self::PLUGIN_COLLECTION_FLYSYSTEM] = function (Container $container) { |
|
39 | + $container[self::PLUGIN_COLLECTION_FLYSYSTEM] = function(Container $container) { |
|
40 | 40 | return []; |
41 | 41 | }; |
42 | 42 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | protected function addFilesystemBuilderPluginCollection($container) |
52 | 52 | { |
53 | - $container[self::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function (Container $container) { |
|
53 | + $container[self::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function(Container $container) { |
|
54 | 54 | return []; |
55 | 55 | }; |
56 | 56 |
@@ -192,8 +192,8 @@ |
||
192 | 192 | public function calculateExpenseTotal(CalculableObjectTransfer $calculableObjectTransfer) |
193 | 193 | { |
194 | 194 | $this->getFactory() |
195 | - ->createExpenseTotalCalculator() |
|
196 | - ->recalculate($calculableObjectTransfer); |
|
195 | + ->createExpenseTotalCalculator() |
|
196 | + ->recalculate($calculableObjectTransfer); |
|
197 | 197 | } |
198 | 198 | |
199 | 199 | /** |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function markAsPrivate($filesystemName, $path) |
39 | 39 | { |
40 | - $this->handleWriteOperation(function () use ($filesystemName, $path) { |
|
40 | + $this->handleWriteOperation(function() use ($filesystemName, $path) { |
|
41 | 41 | $visibility = AdapterInterface::VISIBILITY_PRIVATE; |
42 | 42 | |
43 | 43 | return $this->filesystemProvider |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function markAsPublic($filesystemName, $path) |
56 | 56 | { |
57 | - $this->handleWriteOperation(function () use ($filesystemName, $path) { |
|
57 | + $this->handleWriteOperation(function() use ($filesystemName, $path) { |
|
58 | 58 | $visibility = AdapterInterface::VISIBILITY_PUBLIC; |
59 | 59 | |
60 | 60 | return $this->filesystemProvider |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | */ |
73 | 73 | public function createDir($filesystemName, $dirname, array $config = []) |
74 | 74 | { |
75 | - $this->handleWriteOperation(function () use ($filesystemName, $dirname, $config) { |
|
75 | + $this->handleWriteOperation(function() use ($filesystemName, $dirname, $config) { |
|
76 | 76 | return $this->filesystemProvider |
77 | 77 | ->getFilesystemByName($filesystemName) |
78 | 78 | ->createDir($dirname, $config); |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | public function deleteDir($filesystemName, $dirname) |
89 | 89 | { |
90 | - $this->handleWriteOperation(function () use ($filesystemName, $dirname) { |
|
90 | + $this->handleWriteOperation(function() use ($filesystemName, $dirname) { |
|
91 | 91 | return $this->filesystemProvider |
92 | 92 | ->getFilesystemByName($filesystemName) |
93 | 93 | ->deleteDir($dirname); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | public function copy($filesystemName, $path, $newpath) |
105 | 105 | { |
106 | - $this->handleWriteOperation(function () use ($filesystemName, $path, $newpath) { |
|
106 | + $this->handleWriteOperation(function() use ($filesystemName, $path, $newpath) { |
|
107 | 107 | return $this->filesystemProvider |
108 | 108 | ->getFilesystemByName($filesystemName) |
109 | 109 | ->copy($path, $newpath); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | public function delete($filesystemName, $path) |
120 | 120 | { |
121 | - $this->handleWriteOperation(function () use ($filesystemName, $path) { |
|
121 | + $this->handleWriteOperation(function() use ($filesystemName, $path) { |
|
122 | 122 | return $this->filesystemProvider |
123 | 123 | ->getFilesystemByName($filesystemName) |
124 | 124 | ->delete($path); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | */ |
136 | 136 | public function put($filesystemName, $path, $content, array $config = []) |
137 | 137 | { |
138 | - $this->handleWriteOperation(function () use ($filesystemName, $path, $content, $config) { |
|
138 | + $this->handleWriteOperation(function() use ($filesystemName, $path, $content, $config) { |
|
139 | 139 | $this->filesystemProvider |
140 | 140 | ->getFilesystemByName($filesystemName) |
141 | 141 | ->put($path, $content, $config); |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | */ |
152 | 152 | public function rename($filesystemName, $path, $newpath) |
153 | 153 | { |
154 | - $this->handleWriteOperation(function () use ($filesystemName, $path, $newpath) { |
|
154 | + $this->handleWriteOperation(function() use ($filesystemName, $path, $newpath) { |
|
155 | 155 | return $this->filesystemProvider |
156 | 156 | ->getFilesystemByName($filesystemName) |
157 | 157 | ->rename($path, $newpath); |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | */ |
169 | 169 | public function update($filesystemName, $path, $content, array $config = []) |
170 | 170 | { |
171 | - $this->handleWriteOperation(function () use ($filesystemName, $path, $content, $config) { |
|
171 | + $this->handleWriteOperation(function() use ($filesystemName, $path, $content, $config) { |
|
172 | 172 | return $this->filesystemProvider |
173 | 173 | ->getFilesystemByName($filesystemName) |
174 | 174 | ->update($path, $content, $config); |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | */ |
186 | 186 | public function write($filesystemName, $path, $content, array $config = []) |
187 | 187 | { |
188 | - $this->handleWriteOperation(function () use ($filesystemName, $path, $content, $config) { |
|
188 | + $this->handleWriteOperation(function() use ($filesystemName, $path, $content, $config) { |
|
189 | 189 | return $this->filesystemProvider |
190 | 190 | ->getFilesystemByName($filesystemName) |
191 | 191 | ->write($path, $content, $config); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function putStream($filesystemName, $path, $resource, array $config = []) |
40 | 40 | { |
41 | - $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) { |
|
41 | + $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) { |
|
42 | 42 | return $this->filesystemProvider |
43 | 43 | ->getFilesystemByName($filesystemName) |
44 | 44 | ->putStream($path, $resource, $config); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | public function readStream($filesystemName, $path) |
55 | 55 | { |
56 | - return $this->handleStreamOperation(function () use ($filesystemName, $path) { |
|
56 | + return $this->handleStreamOperation(function() use ($filesystemName, $path) { |
|
57 | 57 | return $this->filesystemProvider |
58 | 58 | ->getFilesystemByName($filesystemName) |
59 | 59 | ->readStream($path); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | public function updateStream($filesystemName, $path, $resource, array $config = []) |
72 | 72 | { |
73 | - $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) { |
|
73 | + $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) { |
|
74 | 74 | return $this->filesystemProvider |
75 | 75 | ->getFilesystemByName($filesystemName) |
76 | 76 | ->updateStream($path, $resource, $config); |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | public function writeStream($filesystemName, $path, $resource, array $config = []) |
89 | 89 | { |
90 | - $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) { |
|
90 | + $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) { |
|
91 | 91 | return $this->filesystemProvider |
92 | 92 | ->getFilesystemByName($filesystemName) |
93 | 93 | ->writeStream($path, $resource, $config); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | public function setDataImporterReaderConfigurationTransfer(DataImporterReaderConfigurationTransfer $dataImporterReaderConfigurationTransfer) |
41 | 41 | { |
42 | 42 | $modified = $dataImporterReaderConfigurationTransfer->modifiedToArray(); |
43 | - $modified = array_filter($modified, function ($value) { |
|
43 | + $modified = array_filter($modified, function($value) { |
|
44 | 44 | return ($value !== null); |
45 | 45 | }); |
46 | 46 | $this->dataImporterReaderConfigurationTransfer->fromArray($modified); |