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
+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 [[], []];
}