Fix types
[MAILPOET-2535]
This commit is contained in:
committed by
Jack Kitterhing
parent
1b3a74ace1
commit
69b79b4f6c
@@ -100,7 +100,7 @@ class Worker {
|
|||||||
|
|
||||||
private function constructNewsletter(StatsNotificationEntity $stats_notification_entity) {
|
private function constructNewsletter(StatsNotificationEntity $stats_notification_entity) {
|
||||||
$newsletter = $stats_notification_entity->getNewsletter();
|
$newsletter = $stats_notification_entity->getNewsletter();
|
||||||
$link = $this->newsletter_link_repository->findTopLinkForNewsletter($newsletter->getId());
|
$link = $this->newsletter_link_repository->findTopLinkForNewsletter((int)$newsletter->getId());
|
||||||
$context = $this->prepareContext($newsletter, $link);
|
$context = $this->prepareContext($newsletter, $link);
|
||||||
$subject = $newsletter->getLatestQueue()->getNewsletterRenderedSubject();
|
$subject = $newsletter->getLatestQueue()->getNewsletterRenderedSubject();
|
||||||
return [
|
return [
|
||||||
|
Reference in New Issue
Block a user