ldc-cocotte/app/Services/EmployeeUpsertServiceResult.php
Jérémy Munsch 2dacdbabd6
refactor(service): reintroduce EmployeeUpsertService and related classes
- Moved employee upsert logic to a new service for better separation of concerns.
- Updated EmployeeSyncService to utilize the new EmployeeUpsertService.
- Added tests for EmployeeUpsertService to ensure correct functionality.
2026-11-10 15:14:24 +01:00

16 lines
306 B
PHP

<?php
declare(strict_types=1);
namespace App\Services;
class EmployeeUpsertServiceResult
{
public function __construct(
public readonly int $insertedCount,
public readonly int $updatedCount,
/** @var string[] $errors */
public readonly array $errors,
) {
}
}