Fix Pint formatting
This commit is contained in:
@@ -9,7 +9,7 @@ class EmailSenderOptionsService
|
||||
$json = env('MAIL_SENDERS', '{}');
|
||||
$arr = json_decode($json, true);
|
||||
|
||||
if (!is_array($arr) || empty($arr)) {
|
||||
if (! is_array($arr) || empty($arr)) {
|
||||
$smtpUser = getenv('SMTP_USER') ?: '';
|
||||
$name = 'Al Rahma Sunday School';
|
||||
|
||||
@@ -17,7 +17,7 @@ class EmailSenderOptionsService
|
||||
'key' => 'general',
|
||||
'name' => $name,
|
||||
'email' => $smtpUser,
|
||||
'label' => trim($name . ($smtpUser ? " <{$smtpUser}>" : '')),
|
||||
'label' => trim($name.($smtpUser ? " <{$smtpUser}>" : '')),
|
||||
]];
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class EmailSenderOptionsService
|
||||
'key' => (string) $key,
|
||||
'name' => (string) $name,
|
||||
'email' => (string) $email,
|
||||
'label' => trim($name . ($email ? " <{$email}>" : '')),
|
||||
'label' => trim($name.($email ? " <{$email}>" : '')),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user