set class readonly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user