Skip to content

Commit

Permalink
coding standards refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vpsnak committed Feb 23, 2021
1 parent 599de16 commit d61427b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Model/Config/Source/UniqueId.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,18 @@ public function toOptionArray(): array
->addVisibleFilter()
->removePriceFilter()
->addFieldToFilter('frontend_input', ['in' => ['text']])
->addFieldToFilter('attribute_code', ['nin' => ['category_ids', 'tier_price', 'meta_title', 'url_key']]);
->addFieldToFilter(
'attribute_code',
['nin' => ['category_ids', 'tier_price', 'meta_title', 'url_key']]
);
$attributesArray = [
[
'value' => 'entity_id',
'label' => 'Product ID'
]
];
foreach ($collection->getItems() as $attribute) {
$attributeData = [
$attributeData = [
'value' => $attribute->getAttributeCode(),
'label' => $attribute->getFrontendLabel()
];
Expand Down

0 comments on commit d61427b

Please sign in to comment.