Skip to content

Commit 644c063

Browse files
committed
MC-4242: Newsletter subscriptions per website
1 parent 72705ad commit 644c063

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Newsletter/Model/ResourceModel/Queue/Collection.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
namespace Magento\Newsletter\Model\ResourceModel\Queue;
77

8+
use Magento\Newsletter\Model\Subscriber;
9+
810
/**
911
* Newsletter queue collection.
1012
*
@@ -214,7 +216,7 @@ public function addSubscriberFilter($subscriberId)
214216
* @param int $customerId
215217
* @return $this
216218
*/
217-
public function addCustomerFilter(int $customerId): self
219+
public function addCustomerFilter(int $customerId): Collection
218220
{
219221
$this->getSelect()
220222
->join(

0 commit comments

Comments
 (0)