@@ -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 |
@@ -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 |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | protected function addZedRequestClient(Container $container): Container |
40 | 40 | { |
41 | - $container->set(static::CLIENT_ZED_REQUEST, function (Container $container) { |
|
41 | + $container->set(static::CLIENT_ZED_REQUEST, function(Container $container) { |
|
42 | 42 | return new ConfigurableBundleNoteToZedRequestClientBridge($container->getLocator()->zedRequest()->client()); |
43 | 43 | }); |
44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | protected function addQuoteClient(Container $container): Container |
54 | 54 | { |
55 | - $container->set(static::CLIENT_QUOTE, function (Container $container) { |
|
55 | + $container->set(static::CLIENT_QUOTE, function(Container $container) { |
|
56 | 56 | return new ConfigurableBundleNoteToQuoteClientBridge($container->getLocator()->quote()->client()); |
57 | 57 | }); |
58 | 58 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | */ |
39 | 39 | protected function addQuoteFacade(Container $container): Container |
40 | 40 | { |
41 | - $container->set(static::FACADE_QUOTE, function (Container $container) { |
|
41 | + $container->set(static::FACADE_QUOTE, function(Container $container) { |
|
42 | 42 | return new ConfigurableBundleNoteToQuoteFacadeBridge($container->getLocator()->quote()->facade()); |
43 | 43 | }); |
44 | 44 |
@@ -49,7 +49,7 @@ |
||
49 | 49 | public function updatePaymentMethod( |
50 | 50 | PaymentMethodTransfer $paymentMethodTransfer |
51 | 51 | ): PaymentMethodResponseTransfer { |
52 | - return $this->getTransactionHandler()->handleTransaction(function () use ($paymentMethodTransfer) { |
|
52 | + return $this->getTransactionHandler()->handleTransaction(function() use ($paymentMethodTransfer) { |
|
53 | 53 | return $this->executeUpdatePaymentMethodTransaction($paymentMethodTransfer); |
54 | 54 | }); |
55 | 55 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | public function update(StoreRelationTransfer $storeRelationTransfer): void |
47 | 47 | { |
48 | - $this->getTransactionHandler()->handleTransaction(function () use ($storeRelationTransfer) { |
|
48 | + $this->getTransactionHandler()->handleTransaction(function() use ($storeRelationTransfer) { |
|
49 | 49 | $this->executeUpdateStoreRelationTransaction($storeRelationTransfer); |
50 | 50 | }); |
51 | 51 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | protected function addProductBundleClient(Container $container): Container |
36 | 36 | { |
37 | - $container->set(static::CLIENT_PRODUCT_BUNDLE, function (Container $container) { |
|
37 | + $container->set(static::CLIENT_PRODUCT_BUNDLE, function(Container $container) { |
|
38 | 38 | return new CartNoteProductBundleConnectorToProductBundleClientBridge($container->getLocator()->productBundle()->client()); |
39 | 39 | }); |
40 | 40 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | protected function addProductBundleFacade(Container $container): Container |
36 | 36 | { |
37 | - $container->set(static::FACADE_PRODUCT_BUNDLE, function (Container $container) { |
|
37 | + $container->set(static::FACADE_PRODUCT_BUNDLE, function(Container $container) { |
|
38 | 38 | return new CartNoteProductBundleConnectorToProductBundleFacadeBridge($container->getLocator()->productBundle()->facade()); |
39 | 39 | }); |
40 | 40 |