From 25d384dbf75fc6e3a6335a12858c1eef14755fa7 Mon Sep 17 00:00:00 2001 From: Nathan Boiron Date: Mon, 1 Jun 2026 20:37:17 +0200 Subject: [PATCH 1/2] Correction de types --- sources/AppBundle/Event/Model/Invoice.php | 6 +++--- sources/AppBundle/Event/Model/Ticket.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sources/AppBundle/Event/Model/Invoice.php b/sources/AppBundle/Event/Model/Invoice.php index bb84de5ec..5ba060403 100644 --- a/sources/AppBundle/Event/Model/Invoice.php +++ b/sources/AppBundle/Event/Model/Invoice.php @@ -24,7 +24,7 @@ class Invoice implements NotifyPropertyInterface private ?\DateTime $invoiceDate = null; /** - * @var int + * @var float */ private $amount; @@ -163,7 +163,7 @@ public function setInvoiceDate(?\DateTime $invoiceDate = null): self } /** - * @return int + * @return float */ public function getAmount() { @@ -171,7 +171,7 @@ public function getAmount() } /** - * @param int $amount + * @param float $amount */ public function setAmount($amount): self { diff --git a/sources/AppBundle/Event/Model/Ticket.php b/sources/AppBundle/Event/Model/Ticket.php index 30ef3995d..e27ed2c09 100644 --- a/sources/AppBundle/Event/Model/Ticket.php +++ b/sources/AppBundle/Event/Model/Ticket.php @@ -88,7 +88,7 @@ class Ticket implements NotifyPropertyInterface private ?TicketEventType $ticketEventType = null; /** - * @var int + * @var float */ private $amount; @@ -308,7 +308,7 @@ public function setTicketEventType(TicketEventType $ticketEventType): self } /** - * @return int + * @return float */ public function getAmount() { @@ -316,7 +316,7 @@ public function getAmount() } /** - * @param int $amount + * @param float $amount */ public function setAmount($amount): self { From c2955de793a78e69127c97cefc68c84845165a26 Mon Sep 17 00:00:00 2001 From: Nathan Boiron Date: Mon, 1 Jun 2026 20:37:28 +0200 Subject: [PATCH 2/2] Suppression d'un appel inutile --- sources/AppBundle/Event/JsonLd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/AppBundle/Event/JsonLd.php b/sources/AppBundle/Event/JsonLd.php index b15f28ffe..75f629c82 100644 --- a/sources/AppBundle/Event/JsonLd.php +++ b/sources/AppBundle/Event/JsonLd.php @@ -48,7 +48,7 @@ public function getDataForEvent(Event $event): array ]; if (count($socialUrls) > 0) { - $person['sameAs'] = array_values($socialUrls); + $person['sameAs'] = $socialUrls; } $performers[] = $person;