diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-07 13:43:18 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-07 13:43:18 -0400 |
commit | 508a5eaf850c3146090763c4c62ac9a3f84c9594 (patch) | |
tree | 7c80b862a4bce4e351755ef59bfae33e1e9381c9 /app | |
parent | f0192a7b2e69a96ee2e97d02397c4d4f75fa94ed (diff) |
Re-indent code of PR #2560
Diffstat (limited to 'app')
-rw-r--r-- | app/Core/Mail/Transport/Smtp.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Core/Mail/Transport/Smtp.php b/app/Core/Mail/Transport/Smtp.php index ec7eb541..1f4e54ce 100644 --- a/app/Core/Mail/Transport/Smtp.php +++ b/app/Core/Mail/Transport/Smtp.php @@ -25,7 +25,13 @@ class Smtp extends Mail $transport->setPassword(MAIL_SMTP_PASSWORD); $transport->setEncryption(MAIL_SMTP_ENCRYPTION); if (HTTP_VERIFY_SSL_CERTIFICATE === false) { - $transport->setStreamOptions(array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false, 'verify_peer_name' => false,))); + $transport->setStreamOptions(array( + 'ssl' => array( + 'allow_self_signed' => true, + 'verify_peer' => false, + 'verify_peer_name' => false, + ) + )); } return $transport; |