Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good

This commit is contained in:
Daniel Guzman
2024-06-09 00:58:29 +02:00
parent 9b0630133c
commit 9614a201bb
763 changed files with 1319 additions and 982 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class FacilityDto
public \DateTimeImmutable $createdAt;
public array $validationErrors;
public function createFacilityArray(): array
public function toArray(): array
{
return [
'id' => $this->id ?? '',
+1 -1
View File
@@ -32,7 +32,7 @@ class GameDto
'gameDateTime' => !empty($this->gameDateTime) ? $this->gameDateTime->format('Y-m-d H:i:s') : null,
'season' => $this->seasonDto->createSeasonArray() ?? [],
'notes' => $this->notes ?? null,
'facility' => $this->facilityDto->createFacilityArray() ?? [],
'facility' => $this->facilityDto->toArray() ?? [],
'pointsHome' => $this->pointsHome ?? 0,
'pointsAway' => $this->pointsAway ?? 0,
'createdAt' => !empty($this->createdAt) ? $this->createdAt->format('Y-m-d H:i:s') : null,