Skip to content

Commit a2d9a6a

Browse files
committed
[TASK] Updated Title and Comment of the is_filterable and is_filterable_in_search fields according to the PHP Code Sniffer
1 parent 952b333 commit a2d9a6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/LayeredNavigation/Observer/Edit/Tab/Front/ProductAttributeFormBuildFrontTabObserver.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public function execute(\Magento\Framework\Event\Observer $observer)
5454
[
5555
'name' => 'is_filterable',
5656
'label' => __("Use in Layered Navigation"),
57-
'title' => __('Can be used only with catalog input type Yes/No (Boolean), Dropdown, Multiple Select and Price'),
58-
'note' => __('Can be used only with catalog input type Yes/No (Boolean), Dropdown, Multiple Select and Price.'),
57+
'title' => __('Can be used only with catalog input type Yes/No, Dropdown, Multiple Select and Price'),
58+
'note' => __('Can be used only with catalog input type Yes/No, Dropdown, Multiple Select and Price.'),
5959
'values' => [
6060
['value' => '0', 'label' => __('No')],
6161
['value' => '1', 'label' => __('Filterable (with results)')],
@@ -70,8 +70,8 @@ public function execute(\Magento\Framework\Event\Observer $observer)
7070
[
7171
'name' => 'is_filterable_in_search',
7272
'label' => __("Use in Search Results Layered Navigation"),
73-
'title' => __('Can be used only with catalog input type Yes/No (Boolean), Dropdown, Multiple Select and Price'),
74-
'note' => __('Can be used only with catalog input type Yes/No (Boolean), Dropdown, Multiple Select and Price.'),
73+
'title' => __('Can be used only with catalog input type Yes/No, Dropdown, Multiple Select and Price'),
74+
'note' => __('Can be used only with catalog input type Yes/No, Dropdown, Multiple Select and Price.'),
7575
'values' => $this->optionList->toOptionArray(),
7676
]
7777
);

0 commit comments

Comments
 (0)