add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
+4 -4
View File
@@ -40,11 +40,11 @@ class UserListService
$parentType = $guardianMap[$userId] ?? '';
$isSecond = false;
if ($userId > 0 && ! empty($secondByUserId[$userId])) {
if ($userId > 0 && !empty($secondByUserId[$userId])) {
$isSecond = true;
} else {
$email = trim(strtolower((string) $user->email));
if ($email !== '' && ! empty($secondByEmail[$email])) {
if ($email !== '' && !empty($secondByEmail[$email])) {
$isSecond = true;
}
}
@@ -91,7 +91,7 @@ class UserListService
private function guardianTypeMap(): array
{
if (! Schema::hasTable('family_guardians')) {
if (!Schema::hasTable('family_guardians')) {
return [];
}
@@ -119,7 +119,7 @@ class UserListService
private function secondParentMaps(): array
{
if (! Schema::hasTable('parents')) {
if (!Schema::hasTable('parents')) {
return [[], []];
}