summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2019-09-20 22:10:39 +0100
committerGitHub <noreply@github.com>2019-09-20 22:10:39 +0100
commit89fe875a1b2f663b5b7fa6472cb90f4b427bdd4c (patch)
tree9caff3afd45c8b6cd4b5a26eefba08b55f25ec59
parent1dcac87eebe70674246739db6483615674aa122a (diff)
downloadwebtrees-89fe875a1b2f663b5b7fa6472cb90f4b427bdd4c.tar.gz
webtrees-89fe875a1b2f663b5b7fa6472cb90f4b427bdd4c.tar.bz2
webtrees-89fe875a1b2f663b5b7fa6472cb90f4b427bdd4c.zip
Apply fixes from StyleCI (#2583)
-rw-r--r--app/Services/MailService.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Services/MailService.php b/app/Services/MailService.php
index 4930d90ff9..949a048dee 100644
--- a/app/Services/MailService.php
+++ b/app/Services/MailService.php
@@ -149,7 +149,8 @@ class MailService
*
* @return string
*/
- public function localDomain(): string {
+ public function localDomain(): string
+ {
$local_domain = Site::getPreference('SMTP_HELO');
try {
@@ -167,7 +168,8 @@ class MailService
*
* @return string
*/
- public function senderEmail(): string {
+ public function senderEmail(): string
+ {
$sender = Site::getPreference('SMTP_FROM_NAME');
$default = 'no-reply@' . $this->localDomain();