Completed
Push — master ( 6279d8...15f84e )
by mark
30s queued 11s
created
Zed/ProductLabelCollector/ProductLabelCollectorDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function addProductLabelFacade(Container $container)
44 44
     {
45
-        $container[static::FACADE_PRODUCT_LABEL] = function (Container $container) {
45
+        $container[static::FACADE_PRODUCT_LABEL] = function(Container $container) {
46 46
             return new ProductLabelCollectorToProductLabelBridge($container->getLocator()->productLabel()->facade());
47 47
         };
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addCollectorFacade(Container $container)
58 58
     {
59
-        $container[static::FACADE_COLLECTOR] = function (Container $container) {
59
+        $container[static::FACADE_COLLECTOR] = function(Container $container) {
60 60
             return new ProductLabelCollectorToCollectorBridge($container->getLocator()->collector()->facade());
61 61
         };
62 62
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function addDataReaderService(Container $container)
72 72
     {
73
-        $container[static::SERVICE_DATA_READER] = function (Container $container) {
73
+        $container[static::SERVICE_DATA_READER] = function(Container $container) {
74 74
             return $container->getLocator()->utilDataReader()->service();
75 75
         };
76 76
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     protected function addTouchQueryContainer(Container $container)
86 86
     {
87
-        $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) {
87
+        $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) {
88 88
             return $container->getLocator()->touch()->queryContainer();
89 89
         };
90 90
 
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductLabelGui/Business/Model/PositionUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     protected function storeLabels(array $productLabelTransferCollection)
65 65
     {
66
-        $this->handleDatabaseTransaction(function () use ($productLabelTransferCollection) {
66
+        $this->handleDatabaseTransaction(function() use ($productLabelTransferCollection) {
67 67
             $this->persistLabels($productLabelTransferCollection);
68 68
         });
69 69
     }
Please login to merge, or discard this patch.
Bundles/Tax/src/Spryker/Zed/Tax/Business/Model/AccruedTaxCalculator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * @var array|float[]
21 21
      */
22 22
     protected static $roundingErrorBucket = [
23
-         self::DEFAULT_BUCKET_NAME => 0,
23
+            self::DEFAULT_BUCKET_NAME => 0,
24 24
     ];
25 25
 
26 26
     /**
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 1 patch
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.
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.