@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | public function updateProductSet(ProductSetTransfer $productSetTransfer) |
67 | 67 | { |
68 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
68 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
69 | 69 | return $this->executeUpdateProductSetTransaction($productSetTransfer); |
70 | 70 | }); |
71 | 71 | } |
@@ -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 | } |
@@ -66,7 +66,7 @@ |
||
66 | 66 | { |
67 | 67 | $this->assertProductSetForDelete($productSetTransfer); |
68 | 68 | |
69 | - $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
69 | + $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
70 | 70 | $this->executeUpdateProductSetTransaction($productSetTransfer); |
71 | 71 | }); |
72 | 72 | } |
@@ -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 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function createProductSetData(ProductSetTransfer $productSetTransfer) |
45 | 45 | { |
46 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
46 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
47 | 47 | return $this->executeCreateProductSetDataTransaction($productSetTransfer); |
48 | 48 | }); |
49 | 49 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function deleteProductSetData(SpyProductSet $productSetEntity) |
38 | 38 | { |
39 | - $this->handleDatabaseTransaction(function () use ($productSetEntity) { |
|
39 | + $this->handleDatabaseTransaction(function() use ($productSetEntity) { |
|
40 | 40 | $this->executeDeleteProductSetDataTransaction($productSetEntity); |
41 | 41 | }); |
42 | 42 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | */ |
48 | 48 | public function updateProductSetData(LocalizedProductSetTransfer $localizedProductSetTransfer, $idProductSet) |
49 | 49 | { |
50 | - return $this->handleDatabaseTransaction(function () use ($localizedProductSetTransfer, $idProductSet) { |
|
50 | + return $this->handleDatabaseTransaction(function() use ($localizedProductSetTransfer, $idProductSet) { |
|
51 | 51 | return $this->executeUpdateProductSetDataTransaction($localizedProductSetTransfer, $idProductSet); |
52 | 52 | }); |
53 | 53 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | protected function addTouchFacade(Container $container) |
61 | 61 | { |
62 | - $container[static::FACADE_TOUCH] = function (Container $container) { |
|
62 | + $container[static::FACADE_TOUCH] = function(Container $container) { |
|
63 | 63 | return new ProductSetToTouchBridge($container->getLocator()->touch()->facade()); |
64 | 64 | }; |
65 | 65 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | protected function addUrlFacade(Container $container) |
73 | 73 | { |
74 | - $container[static::FACADE_URL] = function (Container $container) { |
|
74 | + $container[static::FACADE_URL] = function(Container $container) { |
|
75 | 75 | return new ProductSetToUrlBridge($container->getLocator()->url()->facade()); |
76 | 76 | }; |
77 | 77 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | */ |
84 | 84 | protected function addProductImageFacade(Container $container) |
85 | 85 | { |
86 | - $container[static::FACADE_PRODUCT_IMAGE] = function (Container $container) { |
|
86 | + $container[static::FACADE_PRODUCT_IMAGE] = function(Container $container) { |
|
87 | 87 | return new ProductSetToProductImageBridge($container->getLocator()->productImage()->facade()); |
88 | 88 | }; |
89 | 89 | } |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | protected function addUrlQueryContainer(Container $container) |
97 | 97 | { |
98 | - $container[static::QUERY_CONTAINER_URL] = function (Container $container) { |
|
98 | + $container[static::QUERY_CONTAINER_URL] = function(Container $container) { |
|
99 | 99 | return new ProductSetToUrlQueryContainerBridge($container->getLocator()->url()->queryContainer()); |
100 | 100 | }; |
101 | 101 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | */ |
108 | 108 | protected function addProductImageQueryContainer(Container $container) |
109 | 109 | { |
110 | - $container[static::QUERY_CONTAINER_PRODUCT_IMAGE] = function (Container $container) { |
|
110 | + $container[static::QUERY_CONTAINER_PRODUCT_IMAGE] = function(Container $container) { |
|
111 | 111 | return new ProductSetToProductImageQueryContainerBridge($container->getLocator()->productImage()->queryContainer()); |
112 | 112 | }; |
113 | 113 | } |
@@ -25,11 +25,11 @@ |
||
25 | 25 | */ |
26 | 26 | public function provideDependencies(Container $container) |
27 | 27 | { |
28 | - $container[static::PRODUCT_SET_CLIENT] = function (Container $container) { |
|
28 | + $container[static::PRODUCT_SET_CLIENT] = function(Container $container) { |
|
29 | 29 | return new CmsContentWidgetProductSetConnectorToProductSetBridgeSet($container->getLocator()->productSet()->client()); |
30 | 30 | }; |
31 | 31 | |
32 | - $container[static::PRODUCT_CLIENT] = function (Container $container) { |
|
32 | + $container[static::PRODUCT_CLIENT] = function(Container $container) { |
|
33 | 33 | return new CmsContentWidgetProductSetConnectorToProductBridge($container->getLocator()->product()->client()); |
34 | 34 | }; |
35 | 35 |