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

Commit 40db284

Browse files
authored
Merge pull request #19 from grayloon/analysis-J2xNoD
Apply fixes from StyleCI
2 parents d634a85 + 34dca9c commit 40db284

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Jobs/UpdateProductAttributeGroup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Grayloon\Magento\Jobs;
44

55
use Grayloon\Magento\Magento;
6-
use Grayloon\Magento\Models\MagentoCustomAttribute;
76
use Grayloon\Magento\Models\MagentoCustomAttributeType;
87
use Grayloon\Magento\Support\HasCustomAttributes;
98
use Illuminate\Bus\Queueable;

src/Support/HasCustomAttributes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Grayloon\Magento\Support;
44

5-
use Illuminate\Support\Str;
6-
use Grayloon\Magento\Models\MagentoCustomAttribute;
75
use Grayloon\Magento\Jobs\UpdateProductAttributeGroup;
6+
use Grayloon\Magento\Models\MagentoCustomAttribute;
87
use Grayloon\Magento\Models\MagentoCustomAttributeType;
8+
use Illuminate\Support\Str;
99

1010
trait HasCustomAttributes
1111
{
@@ -63,8 +63,8 @@ protected function updateCustomAttributeTypeValues($type)
6363
{
6464
MagentoCustomAttribute::where('attribute_type_id', $type->id)
6565
->get()
66-
->each(fn($attribute) => $attribute->update([
67-
'value' => $this->resolveCustomAttributeValue($type, $attribute->value)
66+
->each(fn ($attribute) => $attribute->update([
67+
'value' => $this->resolveCustomAttributeValue($type, $attribute->value),
6868
]));
6969

7070
return $this;

0 commit comments

Comments
 (0)