@@ -33,7 +33,7 @@ |
||
| 33 | 33 | $dateTime = new DateTime(); |
| 34 | 34 | |
| 35 | 35 | $comparatorMock = $this->createComparatorMock(); |
| 36 | - $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $calendarWeek) { |
|
| 36 | + $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $calendarWeek) { |
|
| 37 | 37 | return $clauseTransfer->getValue() === $calendarWeek; |
| 38 | 38 | }); |
| 39 | 39 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public function saveOrderBundleItems(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer) |
| 51 | 51 | { |
| 52 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) { |
|
| 52 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) { |
|
| 53 | 53 | $this->saveOrderBundleItemsTransaction($quoteTransfer, $saveOrderTransfer); |
| 54 | 54 | }); |
| 55 | 55 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | { |
| 46 | 46 | $this->assertShipmentRequirements($quoteTransfer); |
| 47 | 47 | |
| 48 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) { |
|
| 48 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) { |
|
| 49 | 49 | $this->saveOrderShipmentTransaction($quoteTransfer, $saveOrderTransfer); |
| 50 | 50 | }); |
| 51 | 51 | } |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | */ |
| 128 | 128 | protected function doSaveOrder(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponse) |
| 129 | 129 | { |
| 130 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $checkoutResponse) { |
|
| 130 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $checkoutResponse) { |
|
| 131 | 131 | $this->doSaveOrderTransaction($quoteTransfer, $checkoutResponse); |
| 132 | 132 | }); |
| 133 | 133 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function saveOrderProductOptions(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer) |
| 42 | 42 | { |
| 43 | - $this->handleDatabaseTransaction(function () use ($saveOrderTransfer) { |
|
| 43 | + $this->handleDatabaseTransaction(function() use ($saveOrderTransfer) { |
|
| 44 | 44 | $this->saveOrderProductOptionsTransaction($saveOrderTransfer); |
| 45 | 45 | }); |
| 46 | 46 | } |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function deleteProductCategoryFilterByCategoryId($categoryId) |
| 44 | 44 | { |
| 45 | - $this->handleDatabaseTransaction(function () use ($categoryId) { |
|
| 45 | + $this->handleDatabaseTransaction(function() use ($categoryId) { |
|
| 46 | 46 | $this->executeDeleteProductCategoryFilterTransaction($categoryId); |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function updateProductCategoryFilter(ProductCategoryFilterTransfer $productCategoryFilterTransfer) |
| 44 | 44 | { |
| 45 | - return $this->handleDatabaseTransaction(function () use ($productCategoryFilterTransfer) { |
|
| 45 | + return $this->handleDatabaseTransaction(function() use ($productCategoryFilterTransfer) { |
|
| 46 | 46 | return $this->executeUpdateProductCategoryFilterTransaction($productCategoryFilterTransfer); |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | public function createProductCategoryFilter(ProductCategoryFilterTransfer $productCategoryFilterTransfer) |
| 37 | 37 | { |
| 38 | - return $this->handleDatabaseTransaction(function () use ($productCategoryFilterTransfer) { |
|
| 38 | + return $this->handleDatabaseTransaction(function() use ($productCategoryFilterTransfer) { |
|
| 39 | 39 | return $this->executeCreateProductCategoryFilterTransaction($productCategoryFilterTransfer); |
| 40 | 40 | }); |
| 41 | 41 | } |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | return $productLabelDictionaryItemTransfers; |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | - usort($productLabelDictionaryItemTransfers, function ( |
|
| 138 | + usort($productLabelDictionaryItemTransfers, function( |
|
| 139 | 139 | ProductLabelDictionaryItemTransfer $productLabelTransferA, |
| 140 | 140 | ProductLabelDictionaryItemTransfer $productLabelTransferB |
| 141 | 141 | ) { |