Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevlamynck committed Apr 6, 2022
1 parent 77d4635 commit afa7db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Domain/EmailFooter/DefaultEmailFooter.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ public function getFooter(): string
$footers = $this->emailFooterRepository->getEmailFooters();

foreach ($footers as $footer) {
$content .= $this->generteFooter($footer);
$content .= $this->generateFooter($footer);
}

return $content;
}

private function generteFooter(EmailFooter $emailFooter): string
private function generateFooter(EmailFooter $emailFooter): string
{
return \sprintf('<br />%s<br />', $this->translator->trans($emailFooter->getValueToUse()));
}
Expand Down

0 comments on commit afa7db2

Please sign in to comment.