Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Zed/ProductCategoryFilter/Business/Model/ProductCategoryFilterDeleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Zed/ProductCategoryFilter/Business/Model/ProductCategoryFilterUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Zed/ProductCategoryFilter/Business/Model/ProductCategoryFilterCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Spryker/Client/ProductLabelStorage/Storage/LabelDictionaryReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
             return $productLabelDictionaryItemTransfers;
136 136
         }
137 137
 
138
-        usort($productLabelDictionaryItemTransfers, function (
138
+        usort($productLabelDictionaryItemTransfers, function(
139 139
             ProductLabelDictionaryItemTransfer $productLabelTransferA,
140 140
             ProductLabelDictionaryItemTransfer $productLabelTransferB
141 141
         ) {
Please login to merge, or discard this patch.
Spryker/Zed/ProductPageSearch/Business/Attribute/ProductPageAttribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             }
71 71
         }
72 72
 
73
-        $result = array_map(function ($attributeValues) {
73
+        $result = array_map(function($attributeValues) {
74 74
             $attributeValues = array_values(array_unique($attributeValues));
75 75
 
76 76
             return $attributeValues;
Please login to merge, or discard this patch.
src/Spryker/Client/ProductSetStorage/Mapper/ProductSetStorageMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             $otherImageSets[] = $imageSetTransfer;
66 66
         }
67 67
 
68
-        usort($otherImageSets, function (ProductImageSetStorageTransfer $a, ProductImageSetStorageTransfer $b) {
68
+        usort($otherImageSets, function(ProductImageSetStorageTransfer $a, ProductImageSetStorageTransfer $b) {
69 69
             return strcmp($a->getName(), $b->getName());
70 70
         });
71 71
 
Please login to merge, or discard this patch.
Business/Product/StoreRelation/ProductAbstractStoreRelationReader.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
      */
79 79
     protected function getIdStores(ArrayObject $storeTransferCollection)
80 80
     {
81
-        return array_map(function (StoreTransfer $storeTransfer) {
81
+        return array_map(function(StoreTransfer $storeTransfer) {
82 82
             return $storeTransfer->getIdStore();
83 83
         }, $storeTransferCollection->getArrayCopy());
84 84
     }
Please login to merge, or discard this patch.
Zed/ProductManagement/Communication/Form/Product/AttributeAbstractForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
         $resolver->setDefined(static::OPTION_LOCALE_TRANSFER);
84 84
 
85 85
         $resolver->setDefaults([
86
-            'validation_groups' => function (FormInterface $form) {
86
+            'validation_groups' => function(FormInterface $form) {
87 87
                 $groups = [ProductFormAdd::VALIDATION_GROUP_ATTRIBUTE_ABSTRACT];
88 88
                 $submittedData = $form->getData();
89 89
 
Please login to merge, or discard this patch.
Spryker/Zed/ProductManagement/Communication/Form/Product/ImageSetForm.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
         $resolver->setDefaults([
54 54
             'constraints' => new Valid(),
55 55
             'required' => false,
56
-            'validation_groups' => function (FormInterface $form) use ($validationGroups) {
56
+            'validation_groups' => function(FormInterface $form) use ($validationGroups) {
57 57
                 return $validationGroups;
58 58
             },
59 59
             'compound' => true,
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
                 'allow_delete' => true,
187 187
                 'prototype' => true,
188 188
                 'constraints' => [new Callback([
189
-                    'callback' => function ($images, ExecutionContextInterface $context) {
189
+                    'callback' => function($images, ExecutionContextInterface $context) {
190 190
                         $selectedAttributes = [];
191 191
                         foreach ($images as $valueSet) {
192 192
                             if (!empty($valueSet['value'])) {
Please login to merge, or discard this patch.