@@ -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 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | $builder->addEventListener( |
49 | 49 | FormEvents::PRE_SET_DATA, |
50 | - function (FormEvent $event) { |
|
50 | + function(FormEvent $event) { |
|
51 | 51 | $this->setInitialMoneyValueData($event); |
52 | 52 | } |
53 | 53 | ); |
@@ -82,7 +82,6 @@ |
||
82 | 82 | |
83 | 83 | /** |
84 | 84 | * @api |
85 | - |
|
86 | 85 | * @return \Orm\Zed\PriceProduct\Persistence\SpyPriceProductQuery |
87 | 86 | */ |
88 | 87 | public function queryPriceProduct(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | public function mapFromEntity(SpyPriceType $priceTypeEntity) |
21 | 21 | { |
22 | 22 | return (new PriceTypeTransfer()) |
23 | - ->fromArray($priceTypeEntity->toArray(), true); |
|
23 | + ->fromArray($priceTypeEntity->toArray(), true); |
|
24 | 24 | } |
25 | 25 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $shipmentMethodTransfer = $this->shipmentFacade->findAvailableMethodById($idShipmentMethod, $quoteTransfer); |
60 | 60 | |
61 | 61 | if (!$shipmentMethodTransfer) { |
62 | - $cartPreCheckResponseTransfer |
|
62 | + $cartPreCheckResponseTransfer |
|
63 | 63 | ->setIsSuccess(false) |
64 | 64 | ->addMessage($this->createMessage()); |
65 | 65 | } |