@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | protected function addApiQueryContainer(Container $container) |
58 | 58 | { |
59 | - $container[static::QUERY_CONTAINER_API] = function (Container $container) { |
|
59 | + $container[static::QUERY_CONTAINER_API] = function(Container $container) { |
|
60 | 60 | return new ApiQueryBuilderToApiBridge($container->getLocator()->api()->queryContainer()); |
61 | 61 | }; |
62 | 62 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | protected function addPropelQueryBuilderQueryContainer(Container $container) |
72 | 72 | { |
73 | - $container[static::QUERY_CONTAINER_PROPEL_QUERY_BUILDER] = function (Container $container) { |
|
73 | + $container[static::QUERY_CONTAINER_PROPEL_QUERY_BUILDER] = function(Container $container) { |
|
74 | 74 | return new ApiQueryBuilderToPropelQueryBuilderBridge($container->getLocator()->propelQueryBuilder()->queryContainer()); |
75 | 75 | }; |
76 | 76 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | protected function addUtilEncodingService(Container $container) |
86 | 86 | { |
87 | - $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) { |
|
87 | + $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) { |
|
88 | 88 | return new ApiQueryBuilderToUtilEncodingBridge($container->getLocator()->utilEncoding()->service()); |
89 | 89 | }; |
90 | 90 | return $container; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | protected function getFunction() |
19 | 19 | { |
20 | - return function ($buttons, $title, $options = []) { |
|
20 | + return function($buttons, $title, $options = []) { |
|
21 | 21 | if (!array_key_exists(ButtonGroupUrlGenerator::ICON, $options)) { |
22 | 22 | $options[ButtonGroupUrlGenerator::ICON] = $this->getDefaultIcon(); |
23 | 23 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | { |
40 | 40 | $this->assertProductLabel($productLabelTransfer); |
41 | 41 | |
42 | - $this->handleDatabaseTransaction(function () use ($productLabelTransfer) { |
|
42 | + $this->handleDatabaseTransaction(function() use ($productLabelTransfer) { |
|
43 | 43 | $this->executeUpdateTransaction($productLabelTransfer); |
44 | 44 | }); |
45 | 45 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | { |
50 | 50 | $this->assertProductLabel($productLabelTransfer); |
51 | 51 | |
52 | - $this->handleDatabaseTransaction(function () use ($productLabelTransfer) { |
|
52 | + $this->handleDatabaseTransaction(function() use ($productLabelTransfer) { |
|
53 | 53 | $this->executeCreateTransaction($productLabelTransfer); |
54 | 54 | }); |
55 | 55 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | */ |
52 | 52 | public function createProductSetData(ProductSetTransfer $productSetTransfer) |
53 | 53 | { |
54 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
54 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
55 | 55 | return $this->executeCreateProductSetDataTransaction($productSetTransfer); |
56 | 56 | }); |
57 | 57 | } |
@@ -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 | } |