Skip to content

Commit a3d4ad6

Browse files
author
Roman Lytvynenko
committed
MC-19060: [Magento Cloud] Incorrect SKU wishlist count
1 parent a0f26b0 commit a3d4ad6

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection

1 file changed

+3
-3
lines changed

app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection/Grid.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ public function setOrder($field, $direction = self::SORT_ORDER_DESC)
129129
/**
130130
* Add quantity to filter
131131
*
132-
* @param $field
133-
* @param $condition
132+
* @param string $field
133+
* @param array $condition
134134
* @return \Magento\Wishlist\Model\ResourceModel\Item\Collection
135135
*/
136-
private function addQtyFilter($field, $condition)
136+
private function addQtyFilter(string $field, array $condition)
137137
{
138138
return parent::addFieldToFilter('main_table.' . $field, $condition);
139139
}

0 commit comments

Comments
 (0)