@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function saveProductList(ProductListTransfer $productListTransfer): ProductListTransfer |
86 | 86 | { |
87 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer) { |
|
87 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer) { |
|
88 | 88 | return $this->executeSaveProductListTransaction($productListTransfer); |
89 | 89 | }); |
90 | 90 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | */ |
97 | 97 | public function createProductList(ProductListTransfer $productListTransfer): ProductListResponseTransfer |
98 | 98 | { |
99 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer) { |
|
99 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer) { |
|
100 | 100 | return $this->executeCreateProductListTransaction($productListTransfer); |
101 | 101 | }); |
102 | 102 | } |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | */ |
109 | 109 | public function updateProductList(ProductListTransfer $productListTransfer): ProductListResponseTransfer |
110 | 110 | { |
111 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer) { |
|
111 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer) { |
|
112 | 112 | return $this->executeUpdateProductListTransaction($productListTransfer); |
113 | 113 | }); |
114 | 114 | } |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | return $productListResponseTransfer; |
131 | 131 | } |
132 | 132 | |
133 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer, $productListResponseTransfer) { |
|
133 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer, $productListResponseTransfer) { |
|
134 | 134 | return $this->executeDeleteProductListTransaction($productListTransfer, $productListResponseTransfer); |
135 | 135 | }); |
136 | 136 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | protected function addUtilTextService(Container $container): Container |
66 | 66 | { |
67 | - $container->set(static::SERVICE_UTIL_TEXT, function (Container $container) { |
|
67 | + $container->set(static::SERVICE_UTIL_TEXT, function(Container $container) { |
|
68 | 68 | return new ProductListToUtilTextServiceBridge($container->getLocator()->utilText()->service()); |
69 | 69 | }); |
70 | 70 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | protected function addMessengerFacade(Container $container): Container |
80 | 80 | { |
81 | - $container->set(static::FACADE_MESSENGER, function (Container $container) { |
|
81 | + $container->set(static::FACADE_MESSENGER, function(Container $container) { |
|
82 | 82 | return new ProductListToMessengerFacadeBridge($container->getLocator()->messenger()->facade()); |
83 | 83 | }); |
84 | 84 | |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | protected function addProductFacade(Container $container): Container |
94 | 94 | { |
95 | - $container->set(static::FACADE_PRODUCT, function (Container $container) { |
|
95 | + $container->set(static::FACADE_PRODUCT, function(Container $container) { |
|
96 | 96 | return new ProductListToProductFacadeBridge($container->getLocator()->product()->facade()); |
97 | 97 | }); |
98 | 98 | |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | */ |
107 | 107 | protected function addProductListPreCreatePlugins(Container $container): Container |
108 | 108 | { |
109 | - $container->set(static::PLUGINS_PRODUCT_LIST_PRE_CREATE, function (Container $container) { |
|
109 | + $container->set(static::PLUGINS_PRODUCT_LIST_PRE_CREATE, function(Container $container) { |
|
110 | 110 | return $this->getProductListPreCreatePlugins(); |
111 | 111 | }); |
112 | 112 | |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | */ |
121 | 121 | protected function addProductListPreUpdatePlugins(Container $container): Container |
122 | 122 | { |
123 | - $container->set(static::PLUGINS_PRODUCT_LIST_PRE_UPDATE, function (Container $container) { |
|
123 | + $container->set(static::PLUGINS_PRODUCT_LIST_PRE_UPDATE, function(Container $container) { |
|
124 | 124 | return $this->getProductListPreUpdatePlugins(); |
125 | 125 | }); |
126 | 126 | |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | */ |
135 | 135 | protected function addProductListDeletePreCheckPlugins(Container $container): Container |
136 | 136 | { |
137 | - $container->set(static::PLUGINS_PRODUCT_LIST_DELETE_PRE_CHECK, function (Container $container) { |
|
137 | + $container->set(static::PLUGINS_PRODUCT_LIST_DELETE_PRE_CHECK, function(Container $container) { |
|
138 | 138 | return $this->getProductListDeletePreCheckPlugins(); |
139 | 139 | }); |
140 | 140 |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | protected function addFormFactory(ContainerInterface $container): ContainerInterface |
56 | 56 | { |
57 | - $container->set(static::SERVICE_FORM_FACTORY, function () use ($container) { |
|
57 | + $container->set(static::SERVICE_FORM_FACTORY, function() use ($container) { |
|
58 | 58 | $formFactoryBuilder = $this->getFactory() |
59 | 59 | ->createFormFactoryBuilder(); |
60 | 60 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | */ |
76 | 76 | protected function addFormCsrfProvider(ContainerInterface $container): ContainerInterface |
77 | 77 | { |
78 | - $container->set(static::SERVICE_FORM_CSRF_PROVIDER, function (ContainerInterface $container) { |
|
78 | + $container->set(static::SERVICE_FORM_CSRF_PROVIDER, function(ContainerInterface $container) { |
|
79 | 79 | return $this->createCsrfTokenManager($container); |
80 | 80 | }); |
81 | 81 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addFormPlugins(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::PLUGINS_FORM, function () { |
|
39 | + $container->set(static::PLUGINS_FORM, function() { |
|
40 | 40 | return $this->getFormPlugins(); |
41 | 41 | }); |
42 | 42 |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | protected function addValidatorService(ContainerInterface $container): ContainerInterface |
45 | 45 | { |
46 | - $container->set(static::SERVICE_VALIDATOR, function (ContainerInterface $container) { |
|
46 | + $container->set(static::SERVICE_VALIDATOR, function(ContainerInterface $container) { |
|
47 | 47 | $validatorBuilder = $this->getFactory()->createValidatorBuilder(); |
48 | 48 | |
49 | 49 | $validatorBuilder = $this->extendValidator($validatorBuilder, $container); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | protected function addValidatorPlugins(Container $container): Container |
37 | 37 | { |
38 | - $container->set(static::PLUGINS_VALIDATOR, function () { |
|
38 | + $container->set(static::PLUGINS_VALIDATOR, function() { |
|
39 | 39 | return $this->getValidatorPlugins(); |
40 | 40 | }); |
41 | 41 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | protected function addConstraintPlugins(Container $container): Container |
59 | 59 | { |
60 | - $container->set(static::PLUGINS_CONSTRAINT, function () { |
|
60 | + $container->set(static::PLUGINS_CONSTRAINT, function() { |
|
61 | 61 | return $this->getConstraintPlugins(); |
62 | 62 | }); |
63 | 63 |
@@ -50,7 +50,7 @@ |
||
50 | 50 | parent::setUp(); |
51 | 51 | |
52 | 52 | $this->configurableBundleStorageRepository = new ConfigurableBundleStorageRepository(); |
53 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
53 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
54 | 54 | return [ |
55 | 55 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
56 | 56 | ]; |
@@ -50,7 +50,7 @@ |
||
50 | 50 | parent::setUp(); |
51 | 51 | |
52 | 52 | $this->configurableBundleStorageRepository = new ConfigurableBundleStorageRepository(); |
53 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
53 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
54 | 54 | return [ |
55 | 55 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
56 | 56 | ]; |
@@ -50,7 +50,7 @@ |
||
50 | 50 | parent::setUp(); |
51 | 51 | |
52 | 52 | $this->configurableBundleStorageRepository = new ConfigurableBundleStorageRepository(); |
53 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
53 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
54 | 54 | return [ |
55 | 55 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
56 | 56 | ]; |