mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 02:49:42 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -17,20 +17,20 @@ use Chill\MainBundle\Entity\User;
|
||||
|
||||
class RequestGenerationMessage
|
||||
{
|
||||
private int $creatorId;
|
||||
private readonly int $creatorId;
|
||||
|
||||
private int $templateId;
|
||||
private readonly int $templateId;
|
||||
|
||||
private int $destinationStoredObjectId;
|
||||
private readonly int $destinationStoredObjectId;
|
||||
|
||||
private \DateTimeImmutable $createdAt;
|
||||
private readonly \DateTimeImmutable $createdAt;
|
||||
|
||||
public function __construct(
|
||||
User $creator,
|
||||
DocGeneratorTemplate $template,
|
||||
private int $entityId,
|
||||
private readonly int $entityId,
|
||||
StoredObject $destinationStoredObject,
|
||||
private array $contextGenerationData
|
||||
private readonly array $contextGenerationData
|
||||
) {
|
||||
$this->creatorId = $creator->getId();
|
||||
$this->templateId = $template->getId();
|
||||
|
Reference in New Issue
Block a user