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
@@ -2,15 +2,13 @@
namespace App\Services\Parents;
use App\Controllers\ParentReportCardController;
use App\Models\Student;
use App\Models\User;
use Illuminate\Support\Facades\DB;
/**
* Maps the logged-in parent-family account to the primary parent's user id
* (stored on {@see Student::$parent_id}), matching legacy
* {@see ParentReportCardController::resolvePrimaryParentId}.
* (stored on {@see \App\Models\Student::$parent_id}), matching legacy
* {@see \App\Controllers\ParentReportCardController::resolvePrimaryParentId}.
*/
final class PrimaryParentUserResolver
{
@@ -24,7 +22,7 @@ final class PrimaryParentUserResolver
}
/**
* @param int $userId Session user id (may be secondary/tertiary login).
* @param int $userId Session user id (may be secondary/tertiary login).
*/
public function resolveFromCredentials(int $userId, string $userType): ?int
{