Skip to content

Commit 077bc63

Browse files
committed
Todo
1 parent 69884a8 commit 077bc63

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Domain/Subscription/Model/Subscriber.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public function setConfirmed(bool $confirmed): self
151151
return $this;
152152
}
153153

154+
// todo: check where is this used and if should be replaced by isBlacklisted with grace time
154155
public function isBlacklisted(): bool
155156
{
156157
return $this->blacklisted;

src/Domain/Subscription/Service/SubscriberCsvImporter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ private function processRow(
210210

211211
[$listLines, $addedNewSubscriberToList] = $this->getHistoryListLines($subscriber, $options);
212212

213+
// todo: use isBlacklisted logic (grace time) not function from Subscriber class
213214
if ($subscriber->isBlacklisted()) {
214215
$stats['blacklisted']++;
215216
}

0 commit comments

Comments
 (0)