Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 974c0ed

Browse files
committed
style: apply formatting
1 parent f9156ac commit 974c0ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Support/MagentoProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ protected function syncCustomAttributes($attributes, $product)
105105
if ($attribute['attribute_code'] === 'category_ids') {
106106
$this->syncProductCategories($attribute['value'], $product);
107107
}
108-
108+
109109
if (is_array($attribute['value'])) {
110110
$attribute['value'] = json_encode($attribute['value']);
111111
}

tests/Support/MagentoProductsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function test_magento_product_adds_associated_category()
4747
'custom_attributes' => [
4848
[
4949
'attribute_code' => 'category_ids',
50-
'value' => ["1"]
50+
'value' => ["1"],
5151
],
5252
],
5353
],

0 commit comments

Comments
 (0)