summaryrefslogtreecommitdiff
path: root/app/frontend/mail/Mailer.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-03 23:22:40 +0100
committeremkael <emkael@tlen.pl>2016-11-03 23:22:40 +0100
commitbef5754e4676a8a578550b6af24d050a946405eb (patch)
tree190a54af236d00c476b28799ba502a42205a95c5 /app/frontend/mail/Mailer.php
parent94e03b260197122ae8f6d7dfedfb2a191fdae273 (diff)
* more strict function definitions
Diffstat (limited to 'app/frontend/mail/Mailer.php')
-rw-r--r--app/frontend/mail/Mailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/mail/Mailer.php b/app/frontend/mail/Mailer.php
index 327c9af..3b95568 100644
--- a/app/frontend/mail/Mailer.php
+++ b/app/frontend/mail/Mailer.php
@@ -24,7 +24,7 @@ class Mailer extends PHPMailer {
}
}
- public function sendTemplate(MailTemplate $template, $subject, $to, $name) {
+ public function sendTemplate(MailTemplate $template, string $subject, string $to, string $name) {
$this->addAddress($to, $name);
$this->isHTML(TRUE);
$this->Subject = $subject;