@@ -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 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | */ |
48 | 48 | public function addRelations($idProductLabel, array $idsProductAbstract) |
49 | 49 | { |
50 | - $this->handleDatabaseTransaction(function () use ($idProductLabel, $idsProductAbstract) { |
|
50 | + $this->handleDatabaseTransaction(function() use ($idProductLabel, $idsProductAbstract) { |
|
51 | 51 | $this->executeSetRelationsTransaction($idProductLabel, $idsProductAbstract); |
52 | 52 | }); |
53 | 53 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function removeRelations($idProductLabel, array $idsProductAbstract) |
48 | 48 | { |
49 | - $this->handleDatabaseTransaction(function () use ($idProductLabel, $idsProductAbstract) { |
|
49 | + $this->handleDatabaseTransaction(function() use ($idProductLabel, $idsProductAbstract) { |
|
50 | 50 | $this->executeDeleteRelationsTransaction($idProductLabel, $idsProductAbstract); |
51 | 51 | }); |
52 | 52 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | protected function addProductLabelFacade(Container $container) |
44 | 44 | { |
45 | - $container[static::FACADE_PRODUCT_LABEL] = function (Container $container) { |
|
45 | + $container[static::FACADE_PRODUCT_LABEL] = function(Container $container) { |
|
46 | 46 | return new ProductLabelCollectorToProductLabelBridge($container->getLocator()->productLabel()->facade()); |
47 | 47 | }; |
48 | 48 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | protected function addCollectorFacade(Container $container) |
58 | 58 | { |
59 | - $container[static::FACADE_COLLECTOR] = function (Container $container) { |
|
59 | + $container[static::FACADE_COLLECTOR] = function(Container $container) { |
|
60 | 60 | return new ProductLabelCollectorToCollectorBridge($container->getLocator()->collector()->facade()); |
61 | 61 | }; |
62 | 62 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | protected function addDataReaderService(Container $container) |
72 | 72 | { |
73 | - $container[static::SERVICE_DATA_READER] = function (Container $container) { |
|
73 | + $container[static::SERVICE_DATA_READER] = function(Container $container) { |
|
74 | 74 | return $container->getLocator()->utilDataReader()->service(); |
75 | 75 | }; |
76 | 76 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | protected function addTouchQueryContainer(Container $container) |
86 | 86 | { |
87 | - $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) { |
|
87 | + $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) { |
|
88 | 88 | return $container->getLocator()->touch()->queryContainer(); |
89 | 89 | }; |
90 | 90 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | protected function storeLabels(array $productLabelTransferCollection) |
65 | 65 | { |
66 | - $this->handleDatabaseTransaction(function () use ($productLabelTransferCollection) { |
|
66 | + $this->handleDatabaseTransaction(function() use ($productLabelTransferCollection) { |
|
67 | 67 | $this->persistLabels($productLabelTransferCollection); |
68 | 68 | }); |
69 | 69 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * @var array|float[] |
21 | 21 | */ |
22 | 22 | protected static $roundingErrorBucket = [ |
23 | - self::DEFAULT_BUCKET_NAME => 0, |
|
23 | + self::DEFAULT_BUCKET_NAME => 0, |
|
24 | 24 | ]; |
25 | 25 | |
26 | 26 | /** |
@@ -155,7 +155,7 @@ |
||
155 | 155 | return $productLabelCollection; |
156 | 156 | } |
157 | 157 | |
158 | - usort($productLabelCollection, function ( |
|
158 | + usort($productLabelCollection, function( |
|
159 | 159 | StorageProductLabelTransfer $productLabelTransferA, |
160 | 160 | StorageProductLabelTransfer $productLabelTransferB |
161 | 161 | ) { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function save(ArrayObject $localizedAttributesTransferCollection) |
50 | 50 | { |
51 | - $this->handleDatabaseTransaction(function () use ($localizedAttributesTransferCollection) { |
|
51 | + $this->handleDatabaseTransaction(function() use ($localizedAttributesTransferCollection) { |
|
52 | 52 | $this->executeSetTransaction($localizedAttributesTransferCollection); |
53 | 53 | }); |
54 | 54 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | return; |
52 | 52 | } |
53 | 53 | |
54 | - $this->handleDatabaseTransaction(function () use ($productLabelsBecomingActive, $productLabelsBecomingInactive) { |
|
54 | + $this->handleDatabaseTransaction(function() use ($productLabelsBecomingActive, $productLabelsBecomingInactive) { |
|
55 | 55 | $this->executeTransaction($productLabelsBecomingActive, $productLabelsBecomingInactive); |
56 | 56 | }); |
57 | 57 | } |