@@ -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); |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | public function provideCommunicationLayerDependencies(Container $container) |
| 62 | 62 | { |
| 63 | - $container[static::SERVICE_DATE_FORMATTER] = function (Container $container) { |
|
| 63 | + $container[static::SERVICE_DATE_FORMATTER] = function(Container $container) { |
|
| 64 | 64 | return $container->getLocator()->utilDateTime()->service(); |
| 65 | 65 | }; |
| 66 | 66 | |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | protected function provideApiQueryContainer(Container $container) |
| 76 | 76 | { |
| 77 | - $container[static::QUERY_CONTAINER_API] = function (Container $container) { |
|
| 77 | + $container[static::QUERY_CONTAINER_API] = function(Container $container) { |
|
| 78 | 78 | return new CustomerApiToApiBridge($container->getLocator()->api()->queryContainer()); |
| 79 | 79 | }; |
| 80 | 80 | |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | protected function provideApiQueryBuilderQueryContainer(Container $container) |
| 90 | 90 | { |
| 91 | - $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function (Container $container) { |
|
| 91 | + $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function(Container $container) { |
|
| 92 | 92 | return new CustomerApiToApiQueryBuilderBridge($container->getLocator()->apiQueryBuilder()->queryContainer()); |
| 93 | 93 | }; |
| 94 | 94 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | protected function provideCustomerFacade(Container $container) |
| 104 | 104 | { |
| 105 | - $container[static::FACADE_CUSTOMER] = function (Container $container) { |
|
| 105 | + $container[static::FACADE_CUSTOMER] = function(Container $container) { |
|
| 106 | 106 | return new CustomerApiToCustomerBridge($container->getLocator()->customer()->facade()); |
| 107 | 107 | }; |
| 108 | 108 | return $container; |
@@ -26,15 +26,15 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function provideBusinessLayerDependencies(Container $container) |
| 28 | 28 | { |
| 29 | - $container[static::QUOTE_CALCULATOR_PLUGIN_STACK] = function (Container $container) { |
|
| 29 | + $container[static::QUOTE_CALCULATOR_PLUGIN_STACK] = function(Container $container) { |
|
| 30 | 30 | return $this->getQuoteCalculatorPluginStack($container); |
| 31 | 31 | }; |
| 32 | 32 | |
| 33 | - $container[static::ORDER_CALCULATOR_PLUGIN_STACK] = function (Container $container) { |
|
| 33 | + $container[static::ORDER_CALCULATOR_PLUGIN_STACK] = function(Container $container) { |
|
| 34 | 34 | return $this->getOrderCalculatorPluginStack($container); |
| 35 | 35 | }; |
| 36 | 36 | |
| 37 | - $container[static::SERVICE_UTIL_TEXT] = function (Container $container) { |
|
| 37 | + $container[static::SERVICE_UTIL_TEXT] = function(Container $container) { |
|
| 38 | 38 | return new CalculationToUtilTextBridge($container->getLocator()->utilText()->service()); |
| 39 | 39 | }; |
| 40 | 40 | |
@@ -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); |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | 'required' => true, |
| 59 | 59 | 'constraints' => [ |
| 60 | 60 | new NotBlank(), |
| 61 | - ], |
|
| 61 | + ], |
|
| 62 | 62 | ]); |
| 63 | 63 | |
| 64 | 64 | return $this; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\SessionTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\SessionTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -193,12 +193,12 @@ |
||
| 193 | 193 | public function querySalesOrderDetails($idSalesOrder) |
| 194 | 194 | { |
| 195 | 195 | $query = $this->getFactory()->createSalesOrderQuery() |
| 196 | - ->setModelAlias('order') |
|
| 197 | - ->filterByIdSalesOrder($idSalesOrder) |
|
| 198 | - ->innerJoinWith('order.BillingAddress billingAddress') |
|
| 199 | - ->innerJoinWith('billingAddress.Country billingCountry') |
|
| 200 | - ->innerJoinWith('order.ShippingAddress shippingAddress') |
|
| 201 | - ->innerJoinWith('shippingAddress.Country shippingCountry'); |
|
| 196 | + ->setModelAlias('order') |
|
| 197 | + ->filterByIdSalesOrder($idSalesOrder) |
|
| 198 | + ->innerJoinWith('order.BillingAddress billingAddress') |
|
| 199 | + ->innerJoinWith('billingAddress.Country billingCountry') |
|
| 200 | + ->innerJoinWith('order.ShippingAddress shippingAddress') |
|
| 201 | + ->innerJoinWith('shippingAddress.Country shippingCountry'); |
|
| 202 | 202 | |
| 203 | 203 | return $query; |
| 204 | 204 | } |