Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sources/AppBundle/Event/JsonLd.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function getDataForEvent(Event $event): array
];

if (count($socialUrls) > 0) {
$person['sameAs'] = array_values($socialUrls);
$person['sameAs'] = $socialUrls;
}

$performers[] = $person;
Expand Down
6 changes: 3 additions & 3 deletions sources/AppBundle/Event/Model/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Invoice implements NotifyPropertyInterface
private ?\DateTime $invoiceDate = null;

/**
* @var int
* @var float
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: c'est comment pour utiliser un vrai typage ici ?

*/
private $amount;

Expand Down Expand Up @@ -163,15 +163,15 @@ public function setInvoiceDate(?\DateTime $invoiceDate = null): self
}

/**
* @return int
* @return float
*/
public function getAmount()
{
return $this->amount;
}

/**
* @param int $amount
* @param float $amount
*/
public function setAmount($amount): self
{
Expand Down
6 changes: 3 additions & 3 deletions sources/AppBundle/Event/Model/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Ticket implements NotifyPropertyInterface
private ?TicketEventType $ticketEventType = null;

/**
* @var int
* @var float
*/
private $amount;

Expand Down Expand Up @@ -308,15 +308,15 @@ public function setTicketEventType(TicketEventType $ticketEventType): self
}

/**
* @return int
* @return float
*/
public function getAmount()
{
return $this->amount;
}

/**
* @param int $amount
* @param float $amount
*/
public function setAmount($amount): self
{
Expand Down
Loading