Skip to content

Commit 098a407

Browse files
committed
minor changes
1 parent 2e48ca1 commit 098a407

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ public function setListIdToCustomerCompareItems(int $listId, int $customerId)
308308
/**
309309
* Remove compare list if customer compare list empty
310310
*
311-
* @param int $customerId
311+
* @param int|null $customerId
312312
*/
313-
public function removeCompareList(int $customerId)
313+
public function removeCompareList(?int $customerId)
314314
{
315315
if (empty($this->getCustomerCompareItems($customerId))) {
316316
$this->getConnection()->delete(

0 commit comments

Comments
 (0)