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; 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 {