<?php
declare(strict_types=1);

namespace App\Modules\PlayerAffairs\Services;

class MedicalExpiryCron
{
    public static function run(): void
    {
        $notified = MedicalScanService::checkExpiryAndNotify();
        if ($notified > 0) {
            echo "[" . date('Y-m-d H:i:s') . "] Medical expiry: notified {$notified} records\n";
        }
    }
}
