<?php

declare(strict_types=1);

namespace App\Administration\Infrastructure\Service;

use App\Administration\Application\Port\GradeExistenceChecker;
use App\Administration\Domain\Model\SchoolClass\AcademicYearId;
use App\Administration\Domain\Model\SchoolClass\SchoolId;
use App\Shared\Domain\Tenant\TenantId;
use Override;

/**
 * Implémentation par défaut qui retourne toujours false.
 *
 * Sera remplacée par une implémentation réelle quand le module Notes (Epic 6) existera.
 */
final class NoOpGradeExistenceChecker implements GradeExistenceChecker
{
    #[Override]
    public function hasGradesInPeriod(
        TenantId $tenantId,
        AcademicYearId $academicYearId,
        int $periodSequence,
    ): bool {
        return false;
    }

    #[Override]
    public function hasGradesForYear(
        TenantId $tenantId,
        SchoolId $schoolId,
        AcademicYearId $academicYearId,
    ): bool {
        return false;
    }
}
