Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
+3 -1
View File
@@ -57,7 +57,7 @@ class EmailExtractorService
$needToAdd = [];
foreach ($dbSet as $email => $_) {
if (!isset($csvSet[$email])) {
if (! isset($csvSet[$email])) {
$needToAdd[] = $email;
}
}
@@ -84,6 +84,7 @@ class EmailExtractorService
$out[] = $email;
}
}
return array_values(array_unique($out));
}
@@ -92,6 +93,7 @@ class EmailExtractorService
$pattern = '/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i';
preg_match_all($pattern, $text, $matches);
$emails = $matches[0] ?? [];
return $this->normalizeEmailArray($emails);
}
}