@@ -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 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | public function getBarcodePluginMock(): BarcodeGeneratorPluginInterface |
| 18 | 18 | { |
| 19 | 19 | return Stub::makeEmpty(BarcodeGeneratorPluginInterface::class, [ |
| 20 | - 'generate' => function (string $text): BarcodeResponseTransfer { |
|
| 20 | + 'generate' => function(string $text): BarcodeResponseTransfer { |
|
| 21 | 21 | return (new BarcodeResponseTransfer()) |
| 22 | 22 | ->setCode($text) |
| 23 | 23 | ->setEncoding(static::GENERATED_ENCODING); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $quoteResponseTransfer = new QuoteResponseTransfer(); |
| 61 | 61 | $quoteResponseTransfer->setIsSuccessful(false); |
| 62 | 62 | if ($this->validateQuote($quoteTransfer)) { |
| 63 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) { |
|
| 63 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) { |
|
| 64 | 64 | return $this->executeDeleteTransaction($quoteTransfer); |
| 65 | 65 | }); |
| 66 | 66 | } |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public function updateQuoteCompanyUsers(QuoteTransfer $quoteTransfer): QuoteTransfer |
| 51 | 51 | { |
| 52 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) { |
|
| 52 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) { |
|
| 53 | 53 | return $this->executeUpdateQuoteCompanyUsersTransaction($quoteTransfer); |
| 54 | 54 | }); |
| 55 | 55 | } |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | } |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | - array_walk_recursive($priceProductConcreteStorageMap, function (SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) { |
|
| 124 | + array_walk_recursive($priceProductConcreteStorageMap, function(SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) { |
|
| 125 | 125 | $priceProductConcreteStorageEntity->delete(); |
| 126 | 126 | }); |
| 127 | 127 | } |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | - array_walk_recursive($priceProductAbstractStorageMap, function (SpyPriceProductAbstractStorage $priceProductAbstractStorageEntity) { |
|
| 122 | + array_walk_recursive($priceProductAbstractStorageMap, function(SpyPriceProductAbstractStorage $priceProductAbstractStorageEntity) { |
|
| 123 | 123 | $priceProductAbstractStorageEntity->delete(); |
| 124 | 124 | }); |
| 125 | 125 | } |
@@ -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 | } |
@@ -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 | ]; |
@@ -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 | } |