Closed
Description
Summary (*)
- You can find it in any Magento 2.1.x, 2.2.x AND 2.3
- File path
vendor/magento/module-catalog/Model/Layer/Filter/Item/DataBuilder.php
ORapp/code/Magento/Catalog/Model/Layer/Filter/Item/DataBuilder.php
.
Examples (*)
/**
* Add Item Data
*
* @param string $label
* @param string $value
* @param int $count
* @return void
*/
public function addItemData($label, $value, $count)
{
$this->_itemsData[] = [
'label' => $label,
'value' => $value,
'count' => $count,
];
}
Proposed solution
/**
* Add Item Data
*
* @param string $label
* @param string $label
* @param int $count
* @return void
*/
public function addItemData($label, $value, $count)
{
$this->_itemsData[] = [
'label' => $label,
'value' => $value,
'count' => $count,
];
}
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release