@@ -58,7 +58,7 @@ |
||
| 58 | 58 | */ |
| 59 | 59 | public function updateProductSetData(LocalizedProductSetTransfer $localizedProductSetTransfer, $idProductSet) |
| 60 | 60 | { |
| 61 | - return $this->handleDatabaseTransaction(function () use ($localizedProductSetTransfer, $idProductSet) { |
|
| 61 | + return $this->handleDatabaseTransaction(function() use ($localizedProductSetTransfer, $idProductSet) { |
|
| 62 | 62 | return $this->executeUpdateProductSetDataTransaction($localizedProductSetTransfer, $idProductSet); |
| 63 | 63 | }); |
| 64 | 64 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | public function deleteProductSetData(SpyProductSet $productSetEntity) |
| 46 | 46 | { |
| 47 | - $this->handleDatabaseTransaction(function () use ($productSetEntity) { |
|
| 47 | + $this->handleDatabaseTransaction(function() use ($productSetEntity) { |
|
| 48 | 48 | $this->executeDeleteProductSetDataTransaction($productSetEntity); |
| 49 | 49 | }); |
| 50 | 50 | } |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | { |
| 58 | 58 | $this->assertProductSetForDelete($productSetTransfer); |
| 59 | 59 | |
| 60 | - $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
| 60 | + $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
| 61 | 61 | $this->executeUpdateProductSetTransaction($productSetTransfer); |
| 62 | 62 | }); |
| 63 | 63 | } |
@@ -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 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | protected function provideApiQueryContainer(Container $container) |
| 75 | 75 | { |
| 76 | - $container[static::QUERY_CONTAINER_API] = function (Container $container) { |
|
| 76 | + $container[static::QUERY_CONTAINER_API] = function(Container $container) { |
|
| 77 | 77 | return new ProductApiToApiBridge($container->getLocator()->api()->queryContainer()); |
| 78 | 78 | }; |
| 79 | 79 | |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | protected function provideApiQueryBuilderQueryContainer(Container $container) |
| 89 | 89 | { |
| 90 | - $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function (Container $container) { |
|
| 90 | + $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function(Container $container) { |
|
| 91 | 91 | return new ProductApiToApiQueryBuilderBridge($container->getLocator()->apiQueryBuilder()->queryContainer()); |
| 92 | 92 | }; |
| 93 | 93 | |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | */ |
| 102 | 102 | protected function provideDateFormatterService(Container $container) |
| 103 | 103 | { |
| 104 | - $container[static::SERVICE_DATE_FORMATTER] = function (Container $container) { |
|
| 104 | + $container[static::SERVICE_DATE_FORMATTER] = function(Container $container) { |
|
| 105 | 105 | return $container->getLocator()->utilDateTime()->service(); |
| 106 | 106 | }; |
| 107 | 107 | return $container; |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | protected function provideProductFacade(Container $container) |
| 116 | 116 | { |
| 117 | - $container[static::FACADE_PRODUCT] = function (Container $container) { |
|
| 117 | + $container[static::FACADE_PRODUCT] = function(Container $container) { |
|
| 118 | 118 | return new ProductApiToProductBridge($container->getLocator()->product()->facade()); |
| 119 | 119 | }; |
| 120 | 120 | return $container; |
@@ -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 | |