From d61427bcbed3afef83c1d292fe91bf1e34bfac5d Mon Sep 17 00:00:00 2001 From: Vpsnak Date: Tue, 23 Feb 2021 08:23:18 +0200 Subject: [PATCH] coding standards refactor --- Model/Config/Source/UniqueId.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Model/Config/Source/UniqueId.php b/Model/Config/Source/UniqueId.php index 3ec7d76..48f130d 100644 --- a/Model/Config/Source/UniqueId.php +++ b/Model/Config/Source/UniqueId.php @@ -38,7 +38,10 @@ 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', @@ -46,7 +49,7 @@ public function toOptionArray(): array ] ]; foreach ($collection->getItems() as $attribute) { - $attributeData = [ + $attributeData = [ 'value' => $attribute->getAttributeCode(), 'label' => $attribute->getFrontendLabel() ];