@@ -82,7 +82,7 @@ |
||
82 | 82 | $keys = array_slice($this->storageClient->getKeys($this->getSearchTerm()), 0, $this->defaultPageLength); |
83 | 83 | } |
84 | 84 | |
85 | - $keys = array_map(function (string $key) { |
|
85 | + $keys = array_map(function(string $key) { |
|
86 | 86 | return str_replace(static::KV_PREFIX, '', $key); |
87 | 87 | }, $keys); |
88 | 88 |
@@ -90,7 +90,7 @@ |
||
90 | 90 | public function persistProductAbstractPriceCollection( |
91 | 91 | ProductAbstractTransfer $productAbstractTransfer |
92 | 92 | ): ProductAbstractTransfer { |
93 | - return $this->handleDatabaseTransaction(function () use ($productAbstractTransfer) { |
|
93 | + return $this->handleDatabaseTransaction(function() use ($productAbstractTransfer) { |
|
94 | 94 | return $this->executePersistProductAbstractPriceCollectionTransaction($productAbstractTransfer); |
95 | 95 | }); |
96 | 96 | } |
@@ -90,7 +90,7 @@ |
||
90 | 90 | public function persistProductConcretePriceCollection( |
91 | 91 | ProductConcreteTransfer $productConcreteTransfer |
92 | 92 | ): ProductConcreteTransfer { |
93 | - return $this->handleDatabaseTransaction(function () use ($productConcreteTransfer) { |
|
93 | + return $this->handleDatabaseTransaction(function() use ($productConcreteTransfer) { |
|
94 | 94 | return $this->executePersistProductConcretePriceCollectionTransaction($productConcreteTransfer); |
95 | 95 | }); |
96 | 96 | } |
@@ -82,8 +82,7 @@ |
||
82 | 82 | protected function getPrice(OrderTransfer $orderTransfer, ShipmentPriceTransfer $shipmentMethodPriceTransfer): ?int |
83 | 83 | { |
84 | 84 | return $orderTransfer->getPriceMode() === ShipmentConstants::PRICE_MODE_GROSS ? |
85 | - $shipmentMethodPriceTransfer->getDefaultGrossPrice() : |
|
86 | - $shipmentMethodPriceTransfer->getDefaultNetPrice(); |
|
85 | + $shipmentMethodPriceTransfer->getDefaultGrossPrice() : $shipmentMethodPriceTransfer->getDefaultNetPrice(); |
|
87 | 86 | } |
88 | 87 | |
89 | 88 | /** |
@@ -190,8 +190,7 @@ |
||
190 | 190 | protected function getPriceByMode(QuoteTransfer $quoteTransfer, ShipmentPriceTransfer $shipmentMethodPriceTransfer): ?int |
191 | 191 | { |
192 | 192 | return $quoteTransfer->getPriceMode() === ShipmentConstants::PRICE_MODE_GROSS ? |
193 | - $shipmentMethodPriceTransfer->getDefaultGrossPrice() : |
|
194 | - $shipmentMethodPriceTransfer->getDefaultNetPrice(); |
|
193 | + $shipmentMethodPriceTransfer->getDefaultGrossPrice() : $shipmentMethodPriceTransfer->getDefaultNetPrice(); |
|
195 | 194 | } |
196 | 195 | |
197 | 196 | /** |
@@ -108,7 +108,7 @@ |
||
108 | 108 | $this->createDateConstraint(), |
109 | 109 | $this->createDateGreaterThanOrEqualConstraint(static::VALIDATION_DATE_TODAY), |
110 | 110 | ], |
111 | - 'validation_groups' => function (FormInterface $form) { |
|
111 | + 'validation_groups' => function(FormInterface $form) { |
|
112 | 112 | $formParent = $form->getParent(); |
113 | 113 | if ($formParent === null || !$formParent->has(static::VALIDATION_DATE_TODAY)) { |
114 | 114 | return [static::VALIDATION_GROUP_SHIPPING_ADDRESS]; |
@@ -417,7 +417,7 @@ |
||
417 | 417 | ->filterByIso2Code($countryIso2Code) |
418 | 418 | ->endUse() |
419 | 419 | ->_or() |
420 | - ->filterByName(TaxConstants::TAX_EXEMPT_PLACEHOLDER) |
|
420 | + ->filterByName(TaxConstants::TAX_EXEMPT_PLACEHOLDER) |
|
421 | 421 | ->endUse() |
422 | 422 | ->endUse() |
423 | 423 | ->withColumn(SpyTaxSetTableMap::COL_NAME) |
@@ -70,7 +70,7 @@ |
||
70 | 70 | $priceProductScheduleTransfer = $this |
71 | 71 | ->expandPriceProductScheduleTransferWithPriceProductScheduleList($priceProductScheduleTransfer); |
72 | 72 | |
73 | - return $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer { |
|
73 | + return $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer { |
|
74 | 74 | return $this->executeCreateLogicTransaction($priceProductScheduleTransfer); |
75 | 75 | }); |
76 | 76 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | return; |
71 | 71 | } |
72 | 72 | |
73 | - $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void { |
|
73 | + $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void { |
|
74 | 74 | $this->executeRemoveLogicTransaction($priceProductScheduleTransfer); |
75 | 75 | }); |
76 | 76 | } |