@@ -231,7 +231,7 @@ |
||
231 | 231 | */ |
232 | 232 | protected function getIdCategoryImageSetCollection(array $categoryImageSetCollection): array |
233 | 233 | { |
234 | - return array_map(function (CategoryImageSetTransfer $categoryImageSetTransfer) { |
|
234 | + return array_map(function(CategoryImageSetTransfer $categoryImageSetTransfer) { |
|
235 | 235 | return $categoryImageSetTransfer->getIdCategoryImageSet(); |
236 | 236 | }, $categoryImageSetCollection); |
237 | 237 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function createCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): ArrayObject |
38 | 38 | { |
39 | - return $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) { |
|
39 | + return $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) { |
|
40 | 40 | return $this->executeCreateCategoryImageSetsForCategoryTransaction($categoryTransfer); |
41 | 41 | }); |
42 | 42 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function deleteCategoryImageSetsByIdCategory(int $idCategory): void |
45 | 45 | { |
46 | - $this->getTransactionHandler()->handleTransaction(function () use ($idCategory) { |
|
46 | + $this->getTransactionHandler()->handleTransaction(function() use ($idCategory) { |
|
47 | 47 | $this->executeDeleteCategoryImageSetsByIdCategoryTransaction($idCategory); |
48 | 48 | }); |
49 | 49 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function updateCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): void |
48 | 48 | { |
49 | - $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) { |
|
49 | + $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) { |
|
50 | 50 | $this->executeUpdateCategoryImageSetsForCategoryTransaction($categoryTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | 'data_class' => CategoryImageSetTransfer::class, |
52 | 52 | 'constraints' => new Valid(), |
53 | 53 | 'required' => false, |
54 | - 'validation_groups' => function () use ($validationGroups) { |
|
54 | + 'validation_groups' => function() use ($validationGroups) { |
|
55 | 55 | return $validationGroups; |
56 | 56 | }, |
57 | 57 | 'compound' => true, |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | 'allow_delete' => true, |
155 | 155 | 'prototype' => true, |
156 | 156 | 'constraints' => [new Callback([ |
157 | - 'callback' => function ($images, ExecutionContextInterface $context) { |
|
157 | + 'callback' => function($images, ExecutionContextInterface $context) { |
|
158 | 158 | $selectedAttributes = []; |
159 | 159 | foreach ($images as $valueSet) { |
160 | 160 | if (!empty($valueSet['value'])) { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | protected function injectPaymentSubForms(Container $container) |
41 | 41 | { |
42 | - $container->extend(CheckoutDependencyProvider::PAYMENT_SUB_FORMS, function (SubFormPluginCollection $paymentSubForms) { |
|
42 | + $container->extend(CheckoutDependencyProvider::PAYMENT_SUB_FORMS, function(SubFormPluginCollection $paymentSubForms) { |
|
43 | 43 | $paymentSubForms->add(new DummyPaymentCreditCardSubFormPlugin()); |
44 | 44 | $paymentSubForms->add(new DummyPaymentInvoiceSubFormPlugin()); |
45 | 45 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | protected function injectPaymentMethodHandler(Container $container) |
58 | 58 | { |
59 | - $container->extend(CheckoutDependencyProvider::PAYMENT_METHOD_HANDLER, function (StepHandlerPluginCollection $paymentMethodHandler) { |
|
59 | + $container->extend(CheckoutDependencyProvider::PAYMENT_METHOD_HANDLER, function(StepHandlerPluginCollection $paymentMethodHandler) { |
|
60 | 60 | $dummyPaymentHandlerPlugin = new DummyPaymentHandlerPlugin(); |
61 | 61 | |
62 | 62 | $paymentMethodHandler->add($dummyPaymentHandlerPlugin, DummyPaymentConfig::PAYMENT_METHOD_CREDIT_CARD); |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addApplicationPlugins(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::PLUGINS_APPLICATION, function (Container $container): array { |
|
39 | + $container->set(static::PLUGINS_APPLICATION, function(Container $container): array { |
|
40 | 40 | return $this->getApplicationPlugins(); |
41 | 41 | }); |
42 | 42 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | RouteNameResolverInterface $routeNameResolver |
30 | 30 | ) { |
31 | 31 | $serviceName = 'controller.service.' . str_replace('/', '.', trim($routeNameResolver->resolve(), '/')); |
32 | - $application[$serviceName] = function () use ($application, $controllerResolver, $bundleControllerAction) { |
|
32 | + $application[$serviceName] = function() use ($application, $controllerResolver, $bundleControllerAction) { |
|
33 | 33 | $controller = $controllerResolver->resolve($bundleControllerAction); |
34 | 34 | $controller->setApplication($application); |
35 | 35 | $controller->initialize(); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $this->assertReclamationCreateRequestRequiredAttributes($reclamationCreateRequestTransfer); |
50 | 50 | |
51 | 51 | return $this->getTransactionHandler()->handleTransaction( |
52 | - function () use ($reclamationCreateRequestTransfer) { |
|
52 | + function() use ($reclamationCreateRequestTransfer) { |
|
53 | 53 | return $this->executeCreateReclamationTransaction($reclamationCreateRequestTransfer); |
54 | 54 | } |
55 | 55 | ); |