fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -9,13 +9,12 @@ class BroadcastEmailSenderOptionsService
$json = getenv('MAIL_SENDERS') ?: 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';
return [[
'key' => 'general',
'label' => $name.($smtpUser ? " <{$smtpUser}>" : ''),
'label' => $name . ($smtpUser ? " <{$smtpUser}>" : ''),
]];
}
@@ -25,7 +24,7 @@ class BroadcastEmailSenderOptionsService
$email = $info['email'] ?? '';
$out[] = [
'key' => (string) $key,
'label' => trim($name.($email ? " <{$email}>" : '')),
'label' => trim($name . ($email ? " <{$email}>" : '')),
];
}