@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function install(): void |
44 | 44 | { |
45 | - $this->getTransactionHandler()->handleTransaction(function () { |
|
45 | + $this->getTransactionHandler()->handleTransaction(function() { |
|
46 | 46 | $this->executeInstallTransaction(); |
47 | 47 | }); |
48 | 48 | } |
@@ -11,11 +11,11 @@ |
||
11 | 11 | |
12 | 12 | interface ProductDiscontinuedProductLabelConnectorToProductLabelFacadeInterface |
13 | 13 | { |
14 | - /** |
|
15 | - * @param \Generated\Shared\Transfer\ProductLabelTransfer $productLabelTransfer |
|
16 | - * |
|
17 | - * @return void |
|
18 | - */ |
|
14 | + /** |
|
15 | + * @param \Generated\Shared\Transfer\ProductLabelTransfer $productLabelTransfer |
|
16 | + * |
|
17 | + * @return void |
|
18 | + */ |
|
19 | 19 | public function createLabel(ProductLabelTransfer $productLabelTransfer); |
20 | 20 | |
21 | 21 | /** |
@@ -145,7 +145,7 @@ |
||
145 | 145 | protected function prepareEncoderMocks(): EncoderMatcherInterface |
146 | 146 | { |
147 | 147 | $encoderMock = $this->createEncoderMock(); |
148 | - $encoderMock->method('encode')->willReturnCallback(function (array $data) { |
|
148 | + $encoderMock->method('encode')->willReturnCallback(function(array $data) { |
|
149 | 149 | return json_encode($data); |
150 | 150 | }); |
151 | 151 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | $formatResponseHeaderPlugin->method('format') |
42 | 42 | ->willReturnCallback( |
43 | - function ( |
|
43 | + function( |
|
44 | 44 | Response $httpResponse, |
45 | 45 | RestResponseInterface $restResponse, |
46 | 46 | RestRequestInterface $restRequest |
@@ -30,7 +30,7 @@ |
||
30 | 30 | [$controller, $action] = $currentController; |
31 | 31 | |
32 | 32 | $request = $event->getRequest(); |
33 | - $apiController = function () use ($controller, $action, $request) { |
|
33 | + $apiController = function() use ($controller, $action, $request) { |
|
34 | 34 | return $this->filter($controller, $action, $request); |
35 | 35 | }; |
36 | 36 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | */ |
60 | 60 | protected function setControllerResolver() |
61 | 61 | { |
62 | - $this->application['resolver'] = $this->application->share(function () { |
|
62 | + $this->application['resolver'] = $this->application->share(function() { |
|
63 | 63 | return new GlueFragmentControllerResolver($this->application); |
64 | 64 | }); |
65 | 65 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | protected function getProductAlternativeSearchPreSubmitCallback(): callable |
64 | 64 | { |
65 | - return function (FormEvent $e) { |
|
65 | + return function(FormEvent $e) { |
|
66 | 66 | $data = $e->getData(); |
67 | 67 | $form = $e->getForm(); |
68 | 68 | if (empty($data[static::FIELD_PRODUCT_ALTERNATIVE])) { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | { |
41 | 41 | parent::setUp(); |
42 | 42 | |
43 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
43 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
44 | 44 | return [ |
45 | 45 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
46 | 46 | ]; |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | { |
68 | 68 | $productConcreteTransfer->requireProductAlternativeCreateRequests(); |
69 | 69 | foreach ($productConcreteTransfer->getProductAlternativeCreateRequests() as $productAlternativeCreateRequestTransfer) { |
70 | - $this->getTransactionHandler()->handleTransaction(function () use ($productAlternativeCreateRequestTransfer) { |
|
70 | + $this->getTransactionHandler()->handleTransaction(function() use ($productAlternativeCreateRequestTransfer) { |
|
71 | 71 | $this->executeCreateTransaction($productAlternativeCreateRequestTransfer); |
72 | 72 | }); |
73 | 73 | } |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | ->setIsSuccessful(false); |
92 | 92 | } |
93 | 93 | |
94 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productAlternativeTransfer) { |
|
94 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productAlternativeTransfer) { |
|
95 | 95 | return $this->executeDeleteTransaction($productAlternativeTransfer); |
96 | 96 | }); |
97 | 97 | } |