fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -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}>" : '')),
];
}