set class readonly

This commit is contained in:
team2
2026-02-21 21:02:31 +01:00
parent 61e6e61b8b
commit f62d102d61

View File

@@ -8,12 +8,12 @@ use App\Entity\TagRebuildJob;
use Doctrine\ORM\EntityManagerInterface;
use Psr\Log\LoggerInterface;
final class TagRebuildJobService
final readonly class TagRebuildJobService
{
public function __construct(
private readonly EntityManagerInterface $em,
private readonly LoggerInterface $agentLogger,
private readonly string $projectDir,
private EntityManagerInterface $em,
private LoggerInterface $agentLogger,
private string $projectDir,
) {}
public function enqueueAndStartAsync(): TagRebuildJob