@@ -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 | } |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | */ |
| 194 | 194 | protected function getAssignedBusinessUnitTransformer(): callable |
| 195 | 195 | { |
| 196 | - return function ($businessUnitCollection): array { |
|
| 196 | + return function($businessUnitCollection): array { |
|
| 197 | 197 | if (!$businessUnitCollection) { |
| 198 | 198 | return []; |
| 199 | 199 | } |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | */ |
| 216 | 216 | private function getAssignedBusinessUnitReverseTransformer(): callable |
| 217 | 217 | { |
| 218 | - return function ($data): CompanyBusinessUnitCollectionTransfer { |
|
| 218 | + return function($data): CompanyBusinessUnitCollectionTransfer { |
|
| 219 | 219 | $companyBusinessUnitCollectionTransfer = new CompanyBusinessUnitCollectionTransfer(); |
| 220 | 220 | foreach ($data as $id) { |
| 221 | 221 | $companyBusinessUnitCollectionTransfer->addCompanyBusinessUnit( |
@@ -173,7 +173,7 @@ |
||
| 173 | 173 | public function configureOptions(OptionsResolver $resolver): void |
| 174 | 174 | { |
| 175 | 175 | $resolver->setDefaults([ |
| 176 | - 'validation_groups' => function (FormInterface $form) { |
|
| 176 | + 'validation_groups' => function(FormInterface $form) { |
|
| 177 | 177 | return [ |
| 178 | 178 | Constraint::DEFAULT_GROUP, |
| 179 | 179 | $form->get(static::PAYMENT_SELECTION)->getData(), |