add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -7,7 +7,6 @@ use App\Services\EmailService;
class CommunicationSendService
{
private EmailService $mailer;
private CommunicationLogService $logService;
public function __construct(EmailService $mailer, CommunicationLogService $logService)
@@ -62,7 +61,7 @@ class CommunicationSendService
$sendOk = false;
}
if (! $sendOk && $error === null) {
if (!$sendOk && $error === null) {
$error = 'Mailer returned false';
}
@@ -91,7 +90,6 @@ class CommunicationSendService
private function normalizeEmails(array $values): array
{
$out = array_values(array_unique(array_filter(array_map('strval', $values))));
return array_values(array_filter($out, static function ($email) {
return $email !== '';
}));