Fix types

[MAILPOET-2535]
This commit is contained in:
Pavel Dohnal
2019-11-19 18:20:12 +01:00
committed by Jack Kitterhing
parent 1b3a74ace1
commit 69b79b4f6c

View File

@@ -100,7 +100,7 @@ class Worker {
private function constructNewsletter(StatsNotificationEntity $stats_notification_entity) {
$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);
$subject = $newsletter->getLatestQueue()->getNewsletterRenderedSubject();
return [