Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
SprykerTest/Zed/GlossaryStorage/Business/GlossaryStorageFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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
             ];
Please login to merge, or discard this patch.
src/Spryker/Zed/PriceProduct/Persistence/PriceProductQueryContainer.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,6 @@
 block discarded – undo
257 257
      * {@inheritDoc}
258 258
      *
259 259
      * @api
260
-
261 260
      * @return \Orm\Zed\PriceProduct\Persistence\SpyPriceProductQuery
262 261
      */
263 262
     public function queryPriceProduct(): SpyPriceProductQuery
Please login to merge, or discard this patch.
Zed/ProductPageSearch/Persistence/ProductPageSearchQueryContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
         array $productAbstractIds,
108 108
         StoreTransfer $storeTransfer
109 109
     ): SpyProductAbstractLocalizedAttributesQuery {
110
-        $storeLocaleIsoCodes = array_map(function (string $localeIsoCode) {
110
+        $storeLocaleIsoCodes = array_map(function(string $localeIsoCode) {
111 111
             return $localeIsoCode;
112 112
         }, $storeTransfer->getAvailableLocaleIsoCodes());
113 113
 
Please login to merge, or discard this patch.
Spryker/Zed/ProductAttribute/Business/Model/Attribute/AttributeWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     {
76 76
         $this->assertProductManagementAttributeTransferRequirements($productManagementAttributeTransfer);
77 77
 
78
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productManagementAttributeTransfer): ProductManagementAttributeTransfer {
78
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productManagementAttributeTransfer): ProductManagementAttributeTransfer {
79 79
             return $this->executeCreateProductManagementAttributeTransaction($productManagementAttributeTransfer);
80 80
         });
81 81
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $this->assertProductManagementAttributeTransferHasId($productManagementAttributeTransfer);
91 91
         $this->assertProductManagementAttributeTransferRequirements($productManagementAttributeTransfer);
92 92
 
93
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productManagementAttributeTransfer): ProductManagementAttributeTransfer {
93
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productManagementAttributeTransfer): ProductManagementAttributeTransfer {
94 94
             return $this->executeUpdateProductManagementAttributeTransaction($productManagementAttributeTransfer);
95 95
         });
96 96
     }
Please login to merge, or discard this patch.
SalesSplit/src/Spryker/Zed/SalesSplit/Business/Model/OrderItemSplit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 ->setValidationMessages($this->validator->getMessages());
79 79
         }
80 80
 
81
-        $newSalesOrderItem = $this->getTransactionHandler()->handleTransaction(function () use ($salesOrderItemEntity, $quantityToSplit): SpySalesOrderItem {
81
+        $newSalesOrderItem = $this->getTransactionHandler()->handleTransaction(function() use ($salesOrderItemEntity, $quantityToSplit): SpySalesOrderItem {
82 82
             return $this->executeSplitTransaction($salesOrderItemEntity, $quantityToSplit);
83 83
         });
84 84
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Product/Business/Product/Touch/AbstractProductTouch.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function touchProductAbstractActive($idProductAbstract)
85 85
     {
86
-        $this->getTransactionHandler()->handleTransaction(function () use ($idProductAbstract): void {
86
+        $this->getTransactionHandler()->handleTransaction(function() use ($idProductAbstract): void {
87 87
             $this->executeTouchProductAbstractActiveTransaction($idProductAbstract);
88 88
         });
89 89
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function touchProductAbstractInactive($idProductAbstract)
97 97
     {
98
-        $this->getTransactionHandler()->handleTransaction(function () use ($idProductAbstract): void {
98
+        $this->getTransactionHandler()->handleTransaction(function() use ($idProductAbstract): void {
99 99
             $this->executeTouchProductAbstractInactiveTransaction($idProductAbstract);
100 100
         });
101 101
     }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function touchProductAbstractDeleted($idProductAbstract)
109 109
     {
110
-        $this->getTransactionHandler()->handleTransaction(function () use ($idProductAbstract): void {
110
+        $this->getTransactionHandler()->handleTransaction(function() use ($idProductAbstract): void {
111 111
             $this->executeTouchProductAbstractDeletedTransaction($idProductAbstract);
112 112
         });
113 113
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Product/Business/Product/Touch/ProductAbstractTouch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function touchProductAbstract($idProductAbstract)
18 18
     {
19
-        $this->getTransactionHandler()->handleTransaction(function () use ($idProductAbstract): void {
19
+        $this->getTransactionHandler()->handleTransaction(function() use ($idProductAbstract): void {
20 20
             $this->executeTouchProductAbstractTransaction($idProductAbstract);
21 21
         });
22 22
     }
Please login to merge, or discard this patch.
Product/src/Spryker/Zed/Product/Business/Product/ProductAbstractManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function createProductAbstract(ProductAbstractTransfer $productAbstractTransfer)
126 126
     {
127
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productAbstractTransfer): int {
127
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productAbstractTransfer): int {
128 128
             return $this->executeCreateProductAbstractTransaction($productAbstractTransfer);
129 129
         });
130 130
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function saveProductAbstract(ProductAbstractTransfer $productAbstractTransfer)
138 138
     {
139
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productAbstractTransfer) {
139
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productAbstractTransfer) {
140 140
             return $this->executeUpdateProductAbstractTransaction($productAbstractTransfer);
141 141
         });
142 142
     }
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
     {
362 362
         $productAbstractTransfer->requireIdProductAbstract();
363 363
 
364
-        $this->getTransactionHandler()->handleTransaction(function () use ($productAbstractTransfer): void {
364
+        $this->getTransactionHandler()->handleTransaction(function() use ($productAbstractTransfer): void {
365 365
             $this->executePersistProductAbstractLocalizedAttributesTransaction($productAbstractTransfer);
366 366
         });
367 367
     }
Please login to merge, or discard this patch.
Bundles/Product/src/Spryker/Zed/Product/Business/Product/ProductManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function addProduct(ProductAbstractTransfer $productAbstractTransfer, array $productConcreteCollection)
55 55
     {
56
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productAbstractTransfer, $productConcreteCollection): int {
56
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productAbstractTransfer, $productConcreteCollection): int {
57 57
             return $this->executeAddProductTransaction($productAbstractTransfer, $productConcreteCollection);
58 58
         });
59 59
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function saveProduct(ProductAbstractTransfer $productAbstractTransfer, array $productConcreteCollection)
68 68
     {
69
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productAbstractTransfer, $productConcreteCollection): int {
69
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productAbstractTransfer, $productConcreteCollection): int {
70 70
             return $this->executeSaveProductTransaction($productAbstractTransfer, $productConcreteCollection);
71 71
         });
72 72
     }
Please login to merge, or discard this patch.