Passed
Push — master ( 7e7d16...d2790e )
by mark
56s
created
Dependency/Facade/OmsDiscountConnectorToDiscountBridge.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @param array $codes
28 28
      *
29
-     * @return bool
29
+     * @return integer
30 30
      */
31 31
     public function releaseUsedVoucherCodes(array $codes)
32 32
     {
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductSearch/Business/Attribute/AttributeWriter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 
220 220
     /**
221 221
      * @param \Generated\Shared\Transfer\ProductSearchAttributeTransfer $productSearchAttributeTransfer
222
-     * @param \Generated\Shared\Transfer\ProductAttributeKeyTransfer $productAttributeKeyTransfer
222
+     * @param ProductAttributeKeyTransfer|null $productAttributeKeyTransfer
223 223
      *
224 224
      * @return \Generated\Shared\Transfer\ProductSearchAttributeTransfer
225 225
      */
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
     /**
239 239
      * @param \Generated\Shared\Transfer\ProductSearchAttributeTransfer $productSearchAttributeTransfer
240
-     * @param \Generated\Shared\Transfer\ProductAttributeKeyTransfer $productAttributeKeyTransfer
240
+     * @param ProductAttributeKeyTransfer|null $productAttributeKeyTransfer
241 241
      *
242 242
      * @return \Generated\Shared\Transfer\ProductSearchAttributeTransfer
243 243
      */
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     }
258 258
 
259 259
     /**
260
-     * @param \Generated\Shared\Transfer\ProductAttributeKeyTransfer $productAttributeKeyTransfer
260
+     * @param ProductAttributeKeyTransfer|null $productAttributeKeyTransfer
261 261
      *
262 262
      * @return void
263 263
      */
Please login to merge, or discard this patch.
src/Spryker/Zed/Ratepay/Business/Request/Payment/Method/AbstractMethod.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Generated\Shared\Transfer\OrderTransfer;
11 11
 use Generated\Shared\Transfer\RatepayPaymentInitTransfer;
12 12
 use Generated\Shared\Transfer\RatepayPaymentRequestTransfer;
13
-use Spryker\Zed\Ratepay\Business\Api\Constants;
14 13
 use Spryker\Zed\Ratepay\Business\Api\Constants as ApiConstants;
15 14
 use Spryker\Zed\Ratepay\Business\Api\Mapper\MapperFactory;
16 15
 use Spryker\Zed\Ratepay\Business\Api\Model\RequestModelFactoryInterface;
Please login to merge, or discard this patch.
Discount/src/Spryker/Zed/Discount/Communication/Table/DiscountsTable.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
      */
145 145
     protected function getStatus(SpyDiscount $discountEntity)
146 146
     {
147
-         return $discountEntity->getIsActive() ? 'Active' : 'Inactive';
147
+            return $discountEntity->getIsActive() ? 'Active' : 'Inactive';
148 148
     }
149 149
 
150 150
     /**
Please login to merge, or discard this patch.
Discount/src/Spryker/Zed/Discount/Business/Persistence/DiscountPersist.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             );
122 122
         }
123 123
 
124
-         return $this->persistVoucherCodes($discountVoucherTransfer, $discountEntity);
124
+            return $this->persistVoucherCodes($discountVoucherTransfer, $discountEntity);
125 125
     }
126 126
 
127 127
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $discountEntity = $this->createDiscountEntity();
64 64
         $this->hydrateDiscountEntity($discountConfiguratorTransfer, $discountEntity);
65 65
 
66
-        $this->handleDatabaseTransaction(function () use ($discountEntity, $discountConfiguratorTransfer) {
66
+        $this->handleDatabaseTransaction(function() use ($discountEntity, $discountConfiguratorTransfer) {
67 67
             $this->executeSaveDiscountTransaction($discountEntity, $discountConfiguratorTransfer);
68 68
         });
69 69
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             );
120 120
         }
121 121
 
122
-        $affectedRows = $this->handleDatabaseTransaction(function () use ($discountEntity, $discountConfiguratorTransfer) {
122
+        $affectedRows = $this->handleDatabaseTransaction(function() use ($discountEntity, $discountConfiguratorTransfer) {
123 123
             return $this->executeUpdateDiscountTransaction($discountEntity, $discountConfiguratorTransfer);
124 124
         });
125 125
 
Please login to merge, or discard this patch.
Propel/src/Spryker/Zed/Propel/Communication/Console/BuildSqlConsole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
         $process = new Process($command, APPLICATION_ROOT_DIR);
49 49
 
50
-        return $process->run(function ($type, $buffer) {
50
+        return $process->run(function($type, $buffer) {
51 51
             echo $buffer;
52 52
         });
53 53
     }
Please login to merge, or discard this patch.
Bundles/Propel/src/Spryker/Zed/Propel/Communication/Console/DiffConsole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $process = new Process($command, APPLICATION_ROOT_DIR);
53 53
         $process->setTimeout(self::PROCESS_TIMEOUT);
54 54
 
55
-        return $process->run(function ($type, $buffer) {
55
+        return $process->run(function($type, $buffer) {
56 56
             echo $buffer;
57 57
         });
58 58
     }
Please login to merge, or discard this patch.
Development/src/Spryker/Zed/Development/Business/CodeTest/CodeTester.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         if ($options[static::OPTION_INITIALIZE]) {
135 135
             $command = 'vendor/bin/codecept build';
136 136
             $process = new Process($command, $this->applicationRoot, null, null, 4800);
137
-            $process->run(function ($type, $buffer) use ($options) {
137
+            $process->run(function($type, $buffer) use ($options) {
138 138
                 if ($options[static::OPTION_VERBOSE]) {
139 139
                     echo $buffer;
140 140
                 }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         $command = 'vendor/bin/codecept run' . $config;
147 147
 
148 148
         $process = new Process($command, $this->applicationRoot, null, null, 4800);
149
-        $process->run(function ($type, $buffer) {
149
+        $process->run(function($type, $buffer) {
150 150
             echo $buffer;
151 151
         });
152 152
     }
Please login to merge, or discard this patch.
Development/src/Spryker/Zed/Development/Business/PhpMd/PhpMdRunner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         }
149 149
 
150 150
         $process = new Process($command, $this->applicationRoot, null, null, 4800);
151
-        $process->run(function ($type, $buffer) {
151
+        $process->run(function($type, $buffer) {
152 152
             echo $buffer;
153 153
         });
154 154
 
Please login to merge, or discard this patch.