<?php
declare(strict_types=1);

namespace App\Modules\Cron;

use App\Modules\Settings\ShopproStatusSyncService;

final class ShopproStatusSyncHandler
{
    public function __construct(private readonly ShopproStatusSyncService $syncService)
    {
    }

    /**
     * @param array<string, mixed> $payload
     * @return array<string, mixed>
     */
    public function handle(array $payload): array
    {
        return $this->syncService->sync();
    }
}
