Passed
Push — master ( 902a44...7e7d16 )
by mark
01:27
created
Tax/src/Spryker/Zed/Tax/Business/Model/Calculator/TaxAmountCalculator.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @param \ArrayObject|\Generated\Shared\Transfer\ItemTransfer[] $items
58
+     * @param ArrayObject $items
59 59
      * @param string $priceMode
60 60
      * @param bool $haveExpenses
61 61
      *
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param \ArrayObject|\Generated\Shared\Transfer\ItemTransfer[] $items
98
+     * @param ArrayObject $items
99 99
      * @param string $priceMode
100 100
      *
101 101
      * @return void
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @param \ArrayObject|\Generated\Shared\Transfer\ExpenseTransfer[] $expenses
131
+     * @param ArrayObject $expenses
132 132
      * @param string $priceMode
133 133
      *
134 134
      * @return void
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @param \ArrayObject|\Generated\Shared\Transfer\ItemTransfer[] $items
170
+     * @param ArrayObject $items
171 171
      * @param string $priceMode
172 172
      * @param bool $haveExpenses
173 173
      *
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     }
208 208
 
209 209
     /**
210
-     * @param \ArrayObject|\Generated\Shared\Transfer\ItemTransfer[] $items
210
+     * @param ArrayObject $items
211 211
      * @param string $priceMode
212 212
      *
213 213
      * @return void
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     }
242 242
 
243 243
     /**
244
-     * @param \ArrayObject|\Generated\Shared\Transfer\ExpenseTransfer[] $expenses
244
+     * @param ArrayObject $expenses
245 245
      * @param string $priceMode
246 246
      *
247 247
      * @return void
Please login to merge, or discard this patch.
src/Spryker/Client/ProductLabel/Storage/LabelDictionaryReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
             return $productLabelCollection;
156 156
         }
157 157
 
158
-        usort($productLabelCollection, function (
158
+        usort($productLabelCollection, function(
159 159
             StorageProductLabelTransfer $productLabelTransferA,
160 160
             StorageProductLabelTransfer $productLabelTransferB
161 161
         ) {
Please login to merge, or discard this patch.
Label/LocalizedAttributesCollection/LocalizedAttributesCollectionWriter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function save(ArrayObject $localizedAttributesTransferCollection)
50 50
     {
51
-        $this->handleDatabaseTransaction(function () use ($localizedAttributesTransferCollection) {
51
+        $this->handleDatabaseTransaction(function() use ($localizedAttributesTransferCollection) {
52 52
             $this->executeSetTransaction($localizedAttributesTransferCollection);
53 53
         });
54 54
     }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @param \ArrayObject|\Generated\Shared\Transfer\ProductLabelLocalizedAttributesTransfer[] $localizedAttributesTransferCollection
44
+     * @param ArrayObject $localizedAttributesTransferCollection
45 45
      *
46 46
      * @return void
47 47
      */
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductLabel/Business/Label/ValidityUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             return;
52 52
         }
53 53
 
54
-        $this->handleDatabaseTransaction(function () use ($productLabelsBecomingActive, $productLabelsBecomingInactive) {
54
+        $this->handleDatabaseTransaction(function() use ($productLabelsBecomingActive, $productLabelsBecomingInactive) {
55 55
             $this->executeTransaction($productLabelsBecomingActive, $productLabelsBecomingInactive);
56 56
         });
57 57
     }
Please login to merge, or discard this patch.
src/Spryker/Client/CmsBlockStorage/CmsBlockStorageDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
      */
20 20
     public function provideServiceLayerDependencies(Container $container)
21 21
     {
22
-        $container[self::CLIENT_STORAGE] = function (Container $container) {
22
+        $container[self::CLIENT_STORAGE] = function(Container $container) {
23 23
             return new CmsBlockStorageToStorageBridge($container->getLocator()->storage()->client());
24 24
         };
25 25
 
26
-        $container[self::SERVICE_SYNCHRONIZATION] = function (Container $container) {
26
+        $container[self::SERVICE_SYNCHRONIZATION] = function(Container $container) {
27 27
             return new CmsBlockStorageToSynchronizationServiceBridge($container->getLocator()->synchronization()->service());
28 28
         };
29 29
 
Please login to merge, or discard this patch.
Spryker/Zed/ProductSetGui/Communication/Form/General/GeneralFormType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function configureOptions(OptionsResolver $resolver)
46 46
     {
47 47
         $resolver->setDefaults([
48
-            'validation_groups' => function (FormInterface $form) {
48
+            'validation_groups' => function(FormInterface $form) {
49 49
                 $originalKey = $form->get(static::FIELD_PRODUCT_SET_KEY_ORIGINAL)->getData();
50 50
                 $updatedKey = $form->get(static::FIELD_PRODUCT_SET_KEY)->getData();
51 51
 
@@ -147,10 +147,10 @@  discard block
 block discarded – undo
147 147
 
148 148
         $builder->get(static::FIELD_WEIGHT)
149 149
             ->addModelTransformer(new CallbackTransformer(
150
-                function ($weight) {
150
+                function($weight) {
151 151
                     return $weight;
152 152
                 },
153
-                function ($weight) {
153
+                function($weight) {
154 154
                     return (int)$weight;
155 155
                 }
156 156
             ));
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductLabelGui/Communication/Form/ProductLabelFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,14 +219,14 @@
 block discarded – undo
219 219
         $builder
220 220
             ->get($fieldName)
221 221
             ->addModelTransformer(new CallbackTransformer(
222
-                function ($dateAsString) {
222
+                function($dateAsString) {
223 223
                     if (!$dateAsString) {
224 224
                         return null;
225 225
                     }
226 226
 
227 227
                     return new DateTime($dateAsString);
228 228
                 },
229
-                function ($dateAsObject) {
229
+                function($dateAsObject) {
230 230
                     if (!$dateAsObject) {
231 231
                         return null;
232 232
                     }
Please login to merge, or discard this patch.
Spryker/Zed/CmsBlockGui/Communication/Form/ArrayObjectTransformerTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
     protected function createArrayObjectModelTransformer()
19 19
     {
20 20
         return new CallbackTransformer(
21
-            function ($value) {
21
+            function($value) {
22 22
                 return (array)$value;
23 23
             },
24
-            function ($value) {
24
+            function($value) {
25 25
                 return new ArrayObject($value);
26 26
             }
27 27
         );
Please login to merge, or discard this patch.
CmsBlockGui/Communication/Form/Glossary/CmsBlockGlossaryPlaceholderForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function configureOptions(OptionsResolver $resolver)
57 57
     {
58 58
         $resolver->setDefaults([
59
-            'validation_groups' => function (FormInterface $form) {
59
+            'validation_groups' => function(FormInterface $form) {
60 60
                 $defaultData = $form->getConfig()->getData();
61 61
 
62 62
                 if (!isset($defaultData[static::FIELD_ID_GLOSSARY_KEY_MAPPING])) {
Please login to merge, or discard this patch.