Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2018-09-18 07:05:46 +00:00
parent e9650156bb
commit dc09774235
3 changed files with 3 additions and 3 deletions

View File

@@ -1043,7 +1043,7 @@ class FilterController extends Controller
$tz = explode(')', substr($location, stripos($location, 'T') $tz = explode(')', substr($location, stripos($location, 'T')
+ 1)); + 1));
return ($tz[0] != "") ? $tz[0] : "+00:00"; return ($tz[0] != '') ? $tz[0] : '+00:00';
} }
/** /**

View File

@@ -200,7 +200,7 @@ class MailController extends Controller
$address = $message->getAddresses('from'); $address = $message->getAddresses('from');
} }
$collaborators = $this->collaburators($message, $email); $collaborators = $this->collaburators($message, $email);
$attachments = (!$message->getAttachments()) ? []: $message->getAttachments(); $attachments = (!$message->getAttachments()) ? [] : $message->getAttachments();
//dd(['body' => $body, 'subject' => $subject, 'address' => $address, 'cc' => $collaborator, 'attachments' => $attachments]); //dd(['body' => $body, 'subject' => $subject, 'address' => $address, 'cc' => $collaborator, 'attachments' => $attachments]);
$this->workflow($address, $subject, $body, $collaborators, $attachments, $email); $this->workflow($address, $subject, $body, $collaborators, $attachments, $email);
} }

View File

@@ -15,7 +15,7 @@ return [
| |
*/ */
'driver' =>env('MAIL_DRIVER', 'smtp'), 'driver' => env('MAIL_DRIVER', 'smtp'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| SMTP Host Address | SMTP Host Address