From da3db1cf7a123b012ce4edcb5e54cb4b146da25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 2 Jan 2026 15:04:41 +0100 Subject: [PATCH] Remove `ORM\` prefix from `JoinColumn` annotations in `PersonHistory` entity --- src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php b/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php index 38df02f17..70c2815f2 100644 --- a/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php +++ b/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php @@ -41,7 +41,7 @@ class PersonHistory implements TrackCreationInterface private ?\DateTimeImmutable $endDate = null; #[ORM\ManyToOne(targetEntity: User::class)] - #[ORM\JoinColumn(nullable: true)] + #[JoinColumn(nullable: true)] #[Serializer\Groups(['read'])] private ?User $removedBy = null; @@ -51,7 +51,7 @@ class PersonHistory implements TrackCreationInterface #[Serializer\Groups(['read'])] private Person $person, #[ORM\ManyToOne(targetEntity: Ticket::class)] - #[ORM\JoinColumn(nullable: false)] + #[JoinColumn(nullable: false)] private Ticket $ticket, #[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATETIME_IMMUTABLE, nullable: false)] #[Serializer\Groups(['read'])]