Commit 13ff0226 authored by Oana-Eliza Alexa's avatar Oana-Eliza Alexa
Browse files

fix indent

1 merge request!75Draft: Resolve "Redesign Mail"
Pipeline #32359 failed with stages
in 16 seconds
Showing with 2 additions and 3 deletions
+2 -3
......@@ -110,8 +110,7 @@ class Mail implements EndpointInterface
private function sendMail ($setFrom, $setBCC, $recipients, $body, $signature, $subject, $receipt, $attachments)
{
// Required before passing the array to the constructor mail.
if (empty($attachments))
{
if (empty($attachments)) {
$attachments = NULL;
}
......@@ -127,7 +126,7 @@ class Mail implements EndpointInterface
return $mail_controller->sendMail();
}
private function updateResult(array $mailSentResult, $task, $fdTasksConf): array
private function updateResult (array $mailSentResult, $task, $fdTasksConf): array
{
$result = [];
if ($mailSentResult[0] == "SUCCESS") {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment